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:
83d604b
)
rk30 phone loquat: modify lcd driver
author
hhb
<hhb@rock-chips.com>
Mon, 28 May 2012 14:25:57 +0000
(22:25 +0800)
committer
hhb
<hhb@rock-chips.com>
Mon, 28 May 2012 14:29:47 +0000
(22:29 +0800)
drivers/video/display/screen/lcd_hj050na_06a.c
patch
|
blob
|
history
diff --git
a/drivers/video/display/screen/lcd_hj050na_06a.c
b/drivers/video/display/screen/lcd_hj050na_06a.c
index 73041cdc3420b5fd2b2928dbeea3f764cf47133f..4e4b84c43790e2441f41ec89bf39b9a3d63fa1df 100644
(file)
--- a/
drivers/video/display/screen/lcd_hj050na_06a.c
+++ b/
drivers/video/display/screen/lcd_hj050na_06a.c
@@
-147,8
+147,8
@@
int lcd_init(void)
usleep_range(7*1000, 7*1000);
#endif
-
//
Write_ADDR(0x0001); // Software Reset
-
// msleep(10
0);
+ Write_ADDR(0x0001); // Software Reset
+
msleep(1
0);
Write_ADDR(0x0011); // Sleep Out
msleep(60);
@@
-357,7
+357,6
@@
int lcd_standby(u8 enable)
msleep(1); //wait at least 1ms
gpio_direction_output(LCD_RST_PORT, 0);
#endif
-
if(gLcd_info)
gLcd_info->io_deinit();