From 0c64f15ee01524511a463ea595b60b58959055dc Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=92=9F=E5=8B=87=E6=B1=AA?= Date: Mon, 17 May 2010 11:46:34 +0000 Subject: [PATCH] lcd iomux restitute --- drivers/video/display/screen/lcd_td043mgea1.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/video/display/screen/lcd_td043mgea1.c b/drivers/video/display/screen/lcd_td043mgea1.c index efe2dd14ede8..b93546fe7e45 100755 --- 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); -- 2.34.1