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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Jul 2012 16:04:06 +0000 (09:04 -0700)
commit4849c078f07f5eb93eff651d3a32cdd434f0787a
tree3fe62e4fdce5e8c0bcec87333cd2a9f47c42f387
parenta00d69ed0676b53e7e5c8d086d47a92f15b91e38
ACPI video: Still use ACPI backlight control if _DOS doesn't exist

commit b03738430c7537d5f87948e0b35d8aaf2688c6b4 upstream.

This fixes a regression in 3.4-rc1 caused by commit
ea9f8856bd6d4ed45885b06a338f7362cd6c60e5
(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>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/acpi/video.c