commit | 0094f2cdcfb6f2132b2ea3b4e85e0f6899c8595b | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Thu Dec 20 15:00:21 2007 +1100 |
committer | Paul Mackerras <paulus@samba.org> | Fri Dec 21 22:14:07 2007 +1100 |
tree | 4e537bbfc3bcba2e3a0d93457009052190136078 | |
parent | 7ac5dde99eb9fefdb526973c600075b7c5703a86 [diff] |
[POWERPC] Fix for via-pmu based backlight control This fixes a few issues with via-pmu based backlight control. First, it fixes a sign problem with the setup of the backlight curve since the `range' value there -can- (and will) go negative. Then, it reworks the interaction between this and the via-pmu sleep code to properly restore backlight on wakeup from sleep. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>