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:
9922f72
)
rk3066b m701: add lcd_stb_pin ctrl
author
yzq
<yzq@rock-chips.com>
Tue, 9 Oct 2012 02:23:20 +0000
(10:23 +0800)
committer
yzq
<yzq@rock-chips.com>
Tue, 9 Oct 2012 02:27:28 +0000
(10:27 +0800)
arch/arm/mach-rk30/board-rk3066b-m701.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk30/board-rk3066b-m701.c
b/arch/arm/mach-rk30/board-rk3066b-m701.c
index cfdc6fc68ec329564b589bc6c0770c41d0b30325..1a27d78d4cdb2e3c5a4414907931289e03ca3c60 100755
(executable)
--- a/
arch/arm/mach-rk30/board-rk3066b-m701.c
+++ b/
arch/arm/mach-rk30/board-rk3066b-m701.c
@@
-661,6
+661,10
@@
static int rk_fb_io_disable(void)
{
gpio_set_value(LCD_EN_PIN, !LCD_EN_VALUE);
}
+ if(LCD_STB_PIN !=INVALID_GPIO)
+ {
+ gpio_set_value(LCD_STB_PIN, !LCD_STB_VALUE);
+ }
return 0;
}
static int rk_fb_io_enable(void)
@@
-673,6
+677,10
@@
static int rk_fb_io_enable(void)
{
gpio_set_value(LCD_EN_PIN, LCD_EN_VALUE);
}
+ if(LCD_STB_PIN !=INVALID_GPIO)
+ {
+ gpio_set_value(LCD_STB_PIN, LCD_STB_VALUE);
+ }
return 0;
}