diff options
| author | Amaury Pouly <amaury.pouly@gmail.com> | 2013-01-12 19:08:05 +0000 |
|---|---|---|
| committer | Amaury Pouly <amaury.pouly@gmail.com> | 2013-01-12 19:08:05 +0000 |
| commit | e2be0e75ab91ff9a29496a375386297bdb184716 (patch) | |
| tree | 02ae56d2a7772df0af679b7f6869537d9584b726 | |
| parent | c8d36bb994f126e5dfa3a2cc22a05be94d5499e7 (diff) | |
| download | rockbox-e2be0e75ab91ff9a29496a375386297bdb184716.zip rockbox-e2be0e75ab91ff9a29496a375386297bdb184716.tar.gz rockbox-e2be0e75ab91ff9a29496a375386297bdb184716.tar.bz2 rockbox-e2be0e75ab91ff9a29496a375386297bdb184716.tar.xz | |
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
3 files changed, 5 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 f452ae0..6f2adc4 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 diff --git a/firmware/target/arm/imx233/creative-zenxfi3/lcd-zenxfi3.c b/firmware/target/arm/imx233/creative-zenxfi3/lcd-zenxfi3.c index d042713..17fab03 100644 --- a/firmware/target/arm/imx233/creative-zenxfi3/lcd-zenxfi3.c +++ b/firmware/target/arm/imx233/creative-zenxfi3/lcd-zenxfi3.c @@ -226,6 +226,8 @@ void lcd_enable(bool enable) lcd_enable_seq(enable); if(!enable) common_lcd_enable(false); + else + send_event(LCD_EVENT_ACTIVATION, NULL); } #endif diff --git a/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c b/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c index 46480f5..376673e 100644 --- a/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c +++ b/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c @@ -521,6 +521,7 @@ void lcd_enable(bool enable) else { lcd_sync_settings(); + send_event(LCD_EVENT_ACTIVATION, NULL); } } #endif |