From 2bfb3da958b7c24c25b307f0c91c0000f4d64336 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 31 Jul 2011 11:18:27 +0800 Subject: [PATCH] A22:reduce backlight delay while resume --- drivers/video/backlight/aw9364_bl.c | 3 ++- drivers/video/display/screen/lcd_nt35510.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/video/backlight/aw9364_bl.c b/drivers/video/backlight/aw9364_bl.c index bd9c2f60eda4..82c8d22f903e 100755 --- a/drivers/video/backlight/aw9364_bl.c +++ b/drivers/video/backlight/aw9364_bl.c @@ -163,8 +163,9 @@ static void aw9364_bl_resume(struct early_suspend *h) struct aw9364_backlight_data *aw9364_data; aw9364_data = container_of(h, struct aw9364_backlight_data, early_suspend); aw9364_data->suspend_flag = 0; + + schedule_delayed_work(&aw9364_data->work, msecs_to_jiffies(0)); - schedule_delayed_work(&aw9364_data->work, msecs_to_jiffies(100)); } #endif diff --git a/drivers/video/display/screen/lcd_nt35510.c b/drivers/video/display/screen/lcd_nt35510.c index cbd723309081..0499fc13c354 100755 --- a/drivers/video/display/screen/lcd_nt35510.c +++ b/drivers/video/display/screen/lcd_nt35510.c @@ -317,7 +317,7 @@ void WriteParameter(char DH) void init_nt35510(void) { WriteCommand(0X1100); - msleep(120); + msleep(10); WriteCommand(0X1300); -- 2.34.1