From: Henrique de Moraes Holschuh Date: Sat, 26 Apr 2008 04:02:21 +0000 (-0300) Subject: ACPI: thinkpad-acpi: fix brightness dimming control bug X-Git-Tag: v2.6.26-rc1~101^2~1^12~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e11aecf1379e7c4a0293182096e38e5a336696b2;p=pandora-kernel.git ACPI: thinkpad-acpi: fix brightness dimming control bug ibm-acpi and thinkpad-acpi did not know about bit 5 of the EC backlight level control register (EC 0x31), so it was always forced to zero on any writes. This would disable the BIOS option to *not* use a dimmer backlight level scale while on battery, and who knows what else (there are two other control bits of unknown function). Bit 5 controls the "reduce backlight levels when on battery" optional functionality (active low). Bits 6 and 7 are better left alone as well, instead of being forced to zero. Signed-off-by: Henrique de Moraes Holschuh Signed-off-by: Len Brown --- Reading git-diff-tree failed