From: lw@rock-chips.com Date: Fri, 24 Aug 2012 09:26:16 +0000 (+0800) Subject: phonepad:fix white lcd problem while awake X-Git-Tag: firefly_0821_release~8843 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=39f8b432b3844bb1d03b05db4cdfa461f806a9b8;p=firefly-linux-kernel-4.4.55.git phonepad:fix white lcd problem while awake --- diff --git a/arch/arm/mach-rk30/board-rk30-phonepad.c b/arch/arm/mach-rk30/board-rk30-phonepad.c index fbf98380cd33..634e14b82d86 100755 --- 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; }