From: Benjamin Herrenschmidt Date: Mon, 3 Mar 2008 06:27:46 +0000 (+1100) Subject: [POWERPC] Fix sleep on some powerbooks X-Git-Tag: v2.6.25-rc6~30^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa19d63488bd108a308f575064779bb69123efbc;p=pandora-kernel.git [POWERPC] Fix sleep on some powerbooks The PMU backlight code would kick in during sleep/resume even on machines that use a different backlight method. This breaks sleep on some PowerBooks. This fixes it by adding a flag to indicate whether the backlight is controlled by the PMU, and testing that before trying to use the PMU to turn off the backlight during sleep. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed