mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
phonepad:fix white lcd problem while awake
This commit is contained in:
@@ -1217,6 +1217,7 @@ static int rk_fb_io_init(struct rk29_fb_setting_info *fb_setting)
|
||||
}
|
||||
static int rk_fb_io_disable(void)
|
||||
{
|
||||
msleep(30); //Response Time (Rising + Falling)
|
||||
gpio_set_value(LCD_CS_PIN, LCD_CS_VALUE? 0:1);
|
||||
gpio_set_value(LCD_EN_PIN, LCD_EN_VALUE? 0:1);
|
||||
return 0;
|
||||
@@ -1225,6 +1226,7 @@ static int rk_fb_io_enable(void)
|
||||
{
|
||||
gpio_set_value(LCD_CS_PIN, LCD_CS_VALUE);
|
||||
gpio_set_value(LCD_EN_PIN, LCD_EN_VALUE);
|
||||
msleep(30);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user