linux/drivers/platform/x86
Michael Spang 1ba869ec58 acer-wmi: fix regression in backlight detection
Currently we disable the Acer WMI backlight device if there is no ACPI
backlight device.  As a result, we end up with no backlight device at all.
 We should instead disable it if there is an ACPI device, as the other
laptop drivers do.  This regression was introduced in febf2d9 ("Acer-WMI:
fingers off backlight if video.ko is serving this functionality").

Each laptop driver with backlight support got a similar change around
febf2d9.  The changes to the other drivers look correct; see e.g.
a598c82f for a similar but correct change.  The regression is also in
2.6.28.

Signed-off-by: Michael Spang <mspang@csclub.uwaterloo.ca>
Acked-by: Thomas Renninger <trenn@suse.de>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Carlos Corbacho <carlos@strangeworlds.co.uk>
Cc: Len Brown <len.brown@intel.com>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: <stable@kernel.org>		[2.6.28.x]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-03-12 16:20:24 -07:00
..
Kconfig x86: dell-laptop: depends on POWER_SUPPLY 2009-02-18 15:37:56 -08:00
Makefile dell-laptop: move to drivers/platform/x86/ from drivers/misc/ 2009-01-16 14:32:18 -05:00
acer-wmi.c acer-wmi: fix regression in backlight detection 2009-03-12 16:20:24 -07:00
asus-laptop.c asus-laptop: fix label indentation 2009-01-20 14:35:29 -05:00
asus_acpi.c asus_acpi: Add R1F support 2009-01-20 14:34:30 -05:00
compal-laptop.c
dell-laptop.c dell-laptop: move to drivers/platform/x86/ from drivers/misc/ 2009-01-16 14:32:18 -05:00
eeepc-laptop.c Merge branches 'release', 'asus', 'bugzilla-12450', 'cpuidle', 'debug', 'ec', 'misc', 'printk' and 'processor' into release 2009-02-07 01:34:56 -05:00
fujitsu-laptop.c fujitsu-laptop: Use RFKILL support bitmask from firmware 2009-02-21 21:59:55 -05:00
hp-wmi.c hp-wmi: fix error path in hp_wmi_bios_setup() 2009-02-05 12:56:47 -08:00
intel_menlow.c
msi-laptop.c
panasonic-laptop.c panasonic-laptop: fix X[ ARRAY_SIZE(X) ] 2009-01-17 20:20:13 -05:00
sony-laptop.c
tc1100-wmi.c
thinkpad_acpi.c ACPI: thinkpad-acpi: bump up version to 0.22 2009-01-15 13:48:24 -05:00
toshiba_acpi.c
wmi.c