projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a14e808
)
phonepad:fix white lcd problem while awake
author
lw@rock-chips.com
<lw@rock-chips.com>
Fri, 24 Aug 2012 09:26:16 +0000
(17:26 +0800)
committer
lw
<lw@rock-chips.com>
Fri, 24 Aug 2012 09:27:11 +0000
(17:27 +0800)
arch/arm/mach-rk30/board-rk30-phonepad.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk30/board-rk30-phonepad.c
b/arch/arm/mach-rk30/board-rk30-phonepad.c
index fbf98380cd336eef6793f194476b3f3f2a2aa561..634e14b82d86121de1f3bb9cab51dc0938cf8802 100755
(executable)
--- a/
arch/arm/mach-rk30/board-rk30-phonepad.c
+++ b/
arch/arm/mach-rk30/board-rk30-phonepad.c
@@
-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;
}