ACPI: Ignore _BQC object when registering backlight device
authorZhao Yakui <yakui.zhao@intel.com>
Thu, 17 Jul 2008 02:46:05 +0000 (10:46 +0800)
committerAndi Kleen <ak@linux.intel.com>
Thu, 17 Jul 2008 23:41:49 +0000 (01:41 +0200)
commitc2c789057f075022658b38b498755c29c1ba8055
tree04108f7ebd123e826c490add44797c89260db927
parent4a5e3638b11978262ab76bbb2062e57fefaaedba
ACPI: Ignore _BQC object when registering backlight device

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>
drivers/acpi/video.c