diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-01-10 20:56:19 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-01-10 20:56:19 +0000 |
commit | 9c5ce4d42e69b753e0c69abe53fd68fd39e59e00 (patch) | |
tree | 33ae563587b0a61cbdca10da4758816797a69a06 /firmware/target/arm/ipod/video/lcd-video.c | |
parent | fadfa211d3ba4de8b86982a113ea85d0f300413c (diff) | |
download | rockbox-9c5ce4d42e69b753e0c69abe53fd68fd39e59e00.tar.gz rockbox-9c5ce4d42e69b753e0c69abe53fd68fd39e59e00.zip |
iPod Video LCD: Avoid white flash when entering sleep mode or shutting off.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29026 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/ipod/video/lcd-video.c')
-rw-r--r-- | firmware/target/arm/ipod/video/lcd-video.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/arm/ipod/video/lcd-video.c b/firmware/target/arm/ipod/video/lcd-video.c index 74d627730f..944f2c4236 100644 --- a/firmware/target/arm/ipod/video/lcd-video.c +++ b/firmware/target/arm/ipod/video/lcd-video.c | |||
@@ -509,6 +509,10 @@ static void bcm_command(unsigned cmd) | |||
509 | 509 | ||
510 | static void bcm_powerdown(void) | 510 | static void bcm_powerdown(void) |
511 | { | 511 | { |
512 | /* Immediately switch off the backlight to avoid flashing. */ | ||
513 | _backlight_hw_enable(false); | ||
514 | |||
515 | /* Not sure what this does. */ | ||
512 | bcm_write32(0x10001400, bcm_read32(0x10001400) & ~0xF0); | 516 | bcm_write32(0x10001400, bcm_read32(0x10001400) & ~0xF0); |
513 | 517 | ||
514 | /* Blanks the LCD and decreases power consumption | 518 | /* Blanks the LCD and decreases power consumption |