mfd:rk616:lvds:set lcd1 port as input in suspend
authoryxj <yxj@rock-chips.com>
Wed, 29 May 2013 07:53:47 +0000 (15:53 +0800)
committeryxj <yxj@rock-chips.com>
Wed, 29 May 2013 09:41:05 +0000 (17:41 +0800)
drivers/video/display/transmitter/rk616_lvds.c

index 78d38eadbcd9ce03aeae7174f1a7eb09f7520bde..fd1339481755fd1a3e6f51be25a5dd53d8cfd5ce 100644 (file)
@@ -135,6 +135,10 @@ static void rk616_lvds_early_suspend(struct early_suspend *h)
        val |= LVDS_PLL_PWR_DN |(LVDS_CH1_PWR_EN << 16) | (LVDS_CH0_PWR_EN << 16) |
                (LVDS_CBG_PWR_EN << 16) | (LVDS_PLL_PWR_DN << 16);
        ret = rk616->write_dev(rk616,CRU_LVDS_CON0,&val);
+
+       val = LCD1_INPUT_EN | (LCD1_INPUT_EN << 16);
+       ret = rk616->write_dev(rk616,CRU_IO_CON0,&val);
+       
        
 }