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:
95d44f6
)
fix lcd commend to make i2c err
author
root
<root@ubuntu.(none)>
Thu, 14 Oct 2010 09:31:25 +0000
(17:31 +0800)
committer
root
<root@ubuntu.(none)>
Thu, 14 Oct 2010 09:31:25 +0000
(17:31 +0800)
arch/arm/mach-rk2818/board-infoit50.c
[changed mode: 0755->0644]
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk2818/board-infoit50.c
b/arch/arm/mach-rk2818/board-infoit50.c
old mode 100755
(executable)
new mode 100644
(file)
index
f7def78
..
ce7a5e4
--- a/
arch/arm/mach-rk2818/board-infoit50.c
+++ b/
arch/arm/mach-rk2818/board-infoit50.c
@@
-1027,6
+1027,11
@@
static int rk2818_lcd_io_deinit(void)
{
int ret = 0;
+ gpio_direction_output(LCD_CLK_PIN, 0);
+ gpio_set_value(LCD_CLK_PIN, GPIO_HIGH);
+ gpio_direction_output(LCD_TXD_PIN, 0);
+ gpio_set_value(LCD_TXD_PIN, GPIO_HIGH);
+
gpio_free(LCD_CS_PIN);
rk2818_mux_api_mode_resume(LCD_CS_MUX_NAME);
gpio_free(LCD_CLK_PIN);