diff options
author | Zhang Rui <rui.zhang@intel.com> | 2008-12-11 16:24:52 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-12-11 16:24:52 -0500 |
commit | 935e5f290ec1eb0f1c15004421f5fd3154380fd5 (patch) | |
tree | 2f116b2de376df6621ab700246a96e25a1183b84 /lib/locking-selftest-wsem.h | |
parent | 6c34bc2976b30dc8b56392c020e25bae1f363cab (diff) |
ACPI: video: Fix reversed brightness behavior on ThinkPad SL series
Section B.6.2 of ACPI 3.0b specification that defines _BCL method
doesn't require the brightness levels returned to be sorted.
At least ThinkPad SL300 (and probably all IdeaPads) returns the
array reversed (i.e. bightest levels have lowest indexes), which
causes the brightness management behave in completely reversed
manner on these machines (brightness increases when the laptop is
idle, while the display dims when used).
Sorting the array by brightness level values after reading the list
fixes the issue.
http://bugzilla.kernel.org/show_bug.cgi?id=12037
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Tested-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'lib/locking-selftest-wsem.h')
0 files changed, 0 insertions, 0 deletions