From: Benjamin Herrenschmidt Date: Thu, 20 Dec 2007 04:00:21 +0000 (+1100) Subject: [POWERPC] Fix for via-pmu based backlight control X-Git-Tag: v2.6.25-rc1~1131^2~204 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0094f2cdcfb6f2132b2ea3b4e85e0f6899c8595b;p=pandora-kernel.git [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 Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed