mfd:rk616:core:set vif vst hst to 1
authoryxj <yxj@rock-chips.com>
Sun, 21 Apr 2013 02:13:15 +0000 (10:13 +0800)
committeryxj <yxj@rock-chips.com>
Mon, 22 Apr 2013 04:26:03 +0000 (12:26 +0800)
drivers/video/display/transmitter/rk616_lvds.c

index e5d162672420a7133ea985ce78251bd524ab40a5..5b823eb2b3930323681fd5472a4cc737c03d7af7 100644 (file)
@@ -39,7 +39,7 @@ static int rk616_vif_cfg(struct mfd_rk616 *rk616,rk_screen *screen,int id)
        
        ret = rk616->write_dev(rk616,VIF0_REG0 + offset,&val);  
 
-       val = (screen->hsync_len + screen->left_margin) | ((screen->vsync_len + screen->upper_margin)<<16);
+       val = (1) | (1<<16);
        ret = rk616->write_dev(rk616,VIF0_REG1 + offset,&val);
 
        val = (screen->hsync_len << 16) | (screen->hsync_len + screen->left_margin +