mako: backlight: sync backlight on/off with lcd on/off
To avoid dispalying garbage during lcd on/off, the turning on lcd should be done before backlight on and turning off backlight should be finished before lcd off. But current implementation doesn't guarantee these on/off sequence. This patch ensure the sequence of lcd and backligth on/off. Change-Id: I11771d395c1a68b4e70b63639f50c773a665b441 Signed-off-by: Iliyan Malchev <malchev@google.com> Conflicts: drivers/video/msm/msm_fb.c
This commit is contained in:
committed by
Iliyan Malchev
parent
9124cb89b9
commit
2cb854aebc
@@ -16,8 +16,11 @@
|
||||
#define __LM35XX_BL_H
|
||||
|
||||
#ifdef CONFIG_BACKLIGHT_LM3530
|
||||
void lm3530_lcd_backlight_set_level( int level);
|
||||
void lm3530_lcd_backlight_pwm_disable(void);
|
||||
int lm3530_lcd_backlight_on_status(void);
|
||||
#endif
|
||||
|
||||
struct backlight_platform_data {
|
||||
void (*platform_init)(void);
|
||||
int gpio;
|
||||
|
||||
Reference in New Issue
Block a user