]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI video: Still use ACPI backlight control if _DOS doesn't exist
authorZhang Rui <rui.zhang@intel.com>
Wed, 20 Jun 2012 01:48:43 +0000 (09:48 +0800)
committerLen Brown <len.brown@intel.com>
Sat, 30 Jun 2012 04:43:42 +0000 (00:43 -0400)
commit96d79202b8ed15daf4fbe5c3a13247bf5c13a0ca
tree70dd0d5aa1e40118bf60c5c6642bbc8715768722
parent27db80d95a7cf803679ea88ac0f0fbad45b6724c
ACPI video: Still use ACPI backlight control if _DOS doesn't exist

This fixes a regression in 3.4-rc1 caused by commit
6742bbdca09ee302b79ffbb4a08732a69e4c7262
(ACPI video: Harden video bus adding.)

Some platforms don't have _DOS control method, but the ACPI
backlight still works.
We should not invoke _DOS for these platforms.

https://bugzilla.kernel.org/show_bug.cgi?id=43168

Cc: Igor Murzov <intergalactic.anonymous@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/video.c