]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "ACPI: Ignore _BQC object when registering backlight device"
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 5 Apr 2008 19:14:13 +0000 (12:14 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 5 Apr 2008 19:14:13 +0000 (12:14 -0700)
commita5b6e83234a9acea0ed8cb214a54f567c870eb04
treea0d762c96891fff460041870153ca4fee3d66c97
parente9da371fb05b7e91d6b100337a651488b85a98ad
Revert "ACPI: Ignore _BQC object when registering backlight device"

This reverts commit d3b879640bfe81888fc1a151b87597c57eeeccf8 which
caused a regression with the backlight being set to off when a laptop
doesn't have a _BQC entry to query the actual backlight value.  The code
blindly then falls back on a value of 0.

See
http://bugzilla.kernel.org/show_bug.cgi?id=10387
http://lkml.org/lkml/2008/4/2/366

for details.

Bisected-and-reported-by: Andrey Borzenkov <arvidjaar@mail.ru>
Cc: Zhao Yakui <yakui.zhao@intel.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Len Brown <len.brown@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/acpi/video.c