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
This commit is contained in:
Amaury Pouly 2013-01-12 19:08:05 +00:00
parent c8d36bb994
commit e2be0e75ab
3 changed files with 5 additions and 0 deletions

View file

@ -252,6 +252,8 @@ void lcd_enable(bool enable)
lcd_enable_seq(enable); lcd_enable_seq(enable);
if(!enable) if(!enable)
common_lcd_enable(false); common_lcd_enable(false);
else
send_event(LCD_EVENT_ACTIVATION, NULL);
} }
#endif #endif

View file

@ -226,6 +226,8 @@ void lcd_enable(bool enable)
lcd_enable_seq(enable); lcd_enable_seq(enable);
if(!enable) if(!enable)
common_lcd_enable(false); common_lcd_enable(false);
else
send_event(LCD_EVENT_ACTIVATION, NULL);
} }
#endif #endif

View file

@ -521,6 +521,7 @@ void lcd_enable(bool enable)
else else
{ {
lcd_sync_settings(); lcd_sync_settings();
send_event(LCD_EVENT_ACTIVATION, NULL);
} }
} }
#endif #endif