Commit 30f5582a authored by Henrique de Moraes Holschuh's avatar Henrique de Moraes Holschuh Committed by Greg Kroah-Hartman
Browse files

thinkpad-acpi: fix incorrect use of TPACPI_BRGHT_MODE_ECNVRAM



HBRV-based default selection of backlight control strategy didn't work
well, at least the X41 defines it but doesn't use it and I don't think
it will stop there.  Switch to a blacklist, and make sure only Radeon-
based models get ECNVRAM.

Symptoms of incorrect backlight mode selection are:

1. Non-working backlight control through sysfs;

2. Backlight gets reset to the lowest level at every shutdown, reboot
   and when thinkpad-acpi gets unloaded;

This fixes a regression in 2.6.30, bugzilla #13826.  This fix is
already present on 2.6.31.

This is a minimal patch for 2.6.30-stable, based on mainline
commits: 050df107,
	 7d95a3d5,
	 59fe4fe3,
	 6da25bf5

Signed-off-by: default avatarHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Reported-by: default avatarTobias Diedrich <ranma+kernel@tdiedrich.de>
Reported-by: default avatarRobert de Rooy <robert.de.rooy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 51acd2e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment