[PATCH] powermac: More powermac backlight fixes
This patch fixes several problems: - The legacy backlight value might be set at interrupt time. Introduced a worker to prevent it from directly calling the backlight code. - via-pmu allows the backlight to be grabbed, in which case we need to prevent other kernel code from changing the brightness. - Don't send PMU requests in via-pmu-backlight when the machine is about to sleep or waking up. - More Kconfig fixes. Signed-off-by:Michael Hanselmann <linux-kernel@hansmi.ch> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: "Antonino A. Daplas" <adaplas@pol.net> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
Showing
- arch/powerpc/platforms/powermac/backlight.c 55 additions, 3 deletionsarch/powerpc/platforms/powermac/backlight.c
- drivers/macintosh/Kconfig 0 additions, 2 deletionsdrivers/macintosh/Kconfig
- drivers/macintosh/adbhid.c 3 additions, 11 deletionsdrivers/macintosh/adbhid.c
- drivers/macintosh/via-pmu-backlight.c 55 additions, 13 deletionsdrivers/macintosh/via-pmu-backlight.c
- drivers/macintosh/via-pmu.c 14 additions, 25 deletionsdrivers/macintosh/via-pmu.c
- drivers/video/Kconfig 10 additions, 18 deletionsdrivers/video/Kconfig
- drivers/video/aty/aty128fb.c 3 additions, 0 deletionsdrivers/video/aty/aty128fb.c
- drivers/video/aty/atyfb_base.c 2 additions, 2 deletionsdrivers/video/aty/atyfb_base.c
- include/asm-powerpc/backlight.h 4 additions, 0 deletionsinclude/asm-powerpc/backlight.h
- include/linux/pmu.h 1 addition, 2 deletionsinclude/linux/pmu.h
Loading
Please register or sign in to comment