rk fb:bank lcdc when change jetta scaler timing
authoryxj <yxj@rock-chips.com>
Thu, 12 Sep 2013 03:28:51 +0000 (11:28 +0800)
committeryxj <yxj@rock-chips.com>
Fri, 13 Sep 2013 05:22:44 +0000 (13:22 +0800)
drivers/video/rockchip/rk_fb.c

index aecca925d42f6fc097f0cd1e8599def8ae20417f..190d72e475f68accb43ad6af41f92c81ba5babf2 100755 (executable)
@@ -1235,7 +1235,10 @@ int rk_fb_switch_screen(rk_screen *screen ,int enable ,int lcdc_id)
        {
                if(dev_drv->screen0->sscreen_set)
                {
+                       dev_drv->blank(dev_drv,0,FB_BLANK_NORMAL);
+                       msleep(100);
                        dev_drv->screen0->sscreen_set(dev_drv->screen0,enable);
+                       dev_drv->blank(dev_drv,0,FB_BLANK_UNBLANK);
                }
        }
 #if defined(CONFIG_NO_DUAL_DISP)  //close backlight for device whic do not support dual display