summaryrefslogtreecommitdiff
path: root/drivers/macintosh/smu.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2008-03-03 09:27:46 +0300
committerPaul Mackerras <paulus@samba.org>2008-03-13 02:09:27 +0300
commitfa19d63488bd108a308f575064779bb69123efbc (patch)
tree97dc8f59e050fd39ac141e0b5e0ddac889ed5580 /drivers/macintosh/smu.c
parent7f172890a8f8744c4005c267ae9e228411ab173f (diff)
downloadlinux-fa19d63488bd108a308f575064779bb69123efbc.tar.xz
[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 <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers/macintosh/smu.c')
0 files changed, 0 insertions, 0 deletions