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 /firmware | |
parent | c8d36bb994f126e5dfa3a2cc22a05be94d5499e7 (diff) | |
download | rockbox-e2be0e75ab91ff9a29496a375386297bdb184716.tar.gz 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')
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 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) | |||
252 | lcd_enable_seq(enable); | 252 | lcd_enable_seq(enable); |
253 | if(!enable) | 253 | if(!enable) |
254 | common_lcd_enable(false); | 254 | common_lcd_enable(false); |
255 | else | ||
256 | send_event(LCD_EVENT_ACTIVATION, NULL); | ||
255 | } | 257 | } |
256 | #endif | 258 | #endif |
257 | 259 | ||
diff --git a/firmware/target/arm/imx233/creative-zenxfi3/lcd-zenxfi3.c b/firmware/target/arm/imx233/creative-zenxfi3/lcd-zenxfi3.c index d04271369c..17fab032bf 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) | |||
226 | lcd_enable_seq(enable); | 226 | lcd_enable_seq(enable); |
227 | if(!enable) | 227 | if(!enable) |
228 | common_lcd_enable(false); | 228 | common_lcd_enable(false); |
229 | else | ||
230 | send_event(LCD_EVENT_ACTIVATION, NULL); | ||
229 | } | 231 | } |
230 | #endif | 232 | #endif |
231 | 233 | ||
diff --git a/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c b/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c index 46480f5b01..376673e675 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) | |||
521 | else | 521 | else |
522 | { | 522 | { |
523 | lcd_sync_settings(); | 523 | lcd_sync_settings(); |
524 | send_event(LCD_EVENT_ACTIVATION, NULL); | ||
524 | } | 525 | } |
525 | } | 526 | } |
526 | #endif | 527 | #endif |