ACPI: Ignore _BQC object when registering backlight device
authorZhao Yakui <yakui.zhao@intel.com>
Fri, 17 Oct 2008 06:16:41 +0000 (02:16 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 22 Oct 2008 21:13:28 +0000 (14:13 -0700)
commit40e24cff25b9c5b12b7f2c8aefecb72bc9c6fd26
tree3360f5629fe35fccd2a3f6af1c88eacad41c1594
parent116018950eb5201c8e74d04b01b319c8d65d5c5b
ACPI: Ignore _BQC object when registering backlight device

upstream commmit: c2c789057f075022658b38b498755c29c1ba8055

According to acpi spec , the objectes of  _BCL and _BCM are required if
integrated LCD is present and supports brightness level and the _BQC is
the optional object. So the _BQC object will be ignored when the backlight
device is registered.
At the same time when there is no _BQC object, the current brightness will be
set to the maximum.

http://bugzilla.kernel.org/show_bug.cgi?id=10206

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/acpi/video.c