summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/creative-zenxfi2/lcd-zenxfi2.c
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-01-12 19:08:05 +0000
committerAmaury Pouly <amaury.pouly@gmail.com>2013-01-12 19:08:05 +0000
commite2be0e75ab91ff9a29496a375386297bdb184716 (patch)
tree02ae56d2a7772df0af679b7f6869537d9584b726 /firmware/target/arm/imx233/creative-zenxfi2/lcd-zenxfi2.c
parentc8d36bb994f126e5dfa3a2cc22a05be94d5499e7 (diff)
downloadrockbox-e2be0e75ab91ff9a29496a375386297bdb184716.tar.gz
rockbox-e2be0e75ab91ff9a29496a375386297bdb184716.tar.bz2
rockbox-e2be0e75ab91ff9a29496a375386297bdb184716.zip
imx233: correctly send the LCD_EVENT_ACTIVATION on enable
For some reason it is the responsability of the driver to send this event so do it. This might fix some non-updating screens. Change-Id: Ib5fdc94bf266c3497a8ac4e89d0418c0e876ff9f
Diffstat (limited to 'firmware/target/arm/imx233/creative-zenxfi2/lcd-zenxfi2.c')
-rw-r--r--firmware/target/arm/imx233/creative-zenxfi2/lcd-zenxfi2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/imx233/creative-zenxfi2/lcd-zenxfi2.c b/firmware/target/arm/imx233/creative-zenxfi2/lcd-zenxfi2.c
index f452ae083e..6f2adc43ae 100644
--- a/firmware/target/arm/imx233/creative-zenxfi2/lcd-zenxfi2.c
+++ b/firmware/target/arm/imx233/creative-zenxfi2/lcd-zenxfi2.c
@@ -252,6 +252,8 @@ void lcd_enable(bool enable)
lcd_enable_seq(enable);
if(!enable)
common_lcd_enable(false);
+ else
+ send_event(LCD_EVENT_ACTIVATION, NULL);
}
#endif