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:
94843ab
)
lcd iomux restitute
author
钟勇汪
<zyw@rock-chips.com>
Mon, 17 May 2010 11:46:34 +0000
(11:46 +0000)
committer
黄涛
<huangtao@rock-chips.com>
Mon, 21 Jun 2010 05:34:56 +0000
(13:34 +0800)
drivers/video/display/screen/lcd_td043mgea1.c
patch
|
blob
|
history
diff --git
a/drivers/video/display/screen/lcd_td043mgea1.c
b/drivers/video/display/screen/lcd_td043mgea1.c
index efe2dd14ede871b8ba1156aaced075ef270792e0..b93546fe7e45ef707b3a24368cbcc3e98ab6fcf4 100755
(executable)
--- a/
drivers/video/display/screen/lcd_td043mgea1.c
+++ b/
drivers/video/display/screen/lcd_td043mgea1.c
@@
-79,7
+79,7
@@
void screen_set_iomux(u8 enable)
gpio_free(RK2818_PIN_PE7);
gpio_free(RK2818_PIN_PE6);
- rk2818_mux_api_set(GPIOE_U1IR_I2C1_NAME,
1
);
+ rk2818_mux_api_set(GPIOE_U1IR_I2C1_NAME,
2
);
}
return ;
pin_err:
@@
-199,8
+199,6
@@
void spi_screenreg_set(u32 Addr, u32 Data)
int init(void)
{
- printk(">>>>>> %s : %s \n", __FILE__, __FUNCTION__);
-
screen_set_iomux(1);
spi_screenreg_set(0x02, 0x07);
@@
-244,9
+242,7
@@
int init(void)
}
int standby(u8 enable)
-{
- printk(">>>>>> %s : %s \n", __FILE__, __FUNCTION__);
-
+{
screen_set_iomux(1);
if(enable) {
spi_screenreg_set(0x03, 0xde);