rk30 lcdc:set parameters for rk610 if needed
authoryxj <yxj@rock-chips.com>
Sun, 7 Apr 2013 06:29:52 +0000 (14:29 +0800)
committeryxj <yxj@rock-chips.com>
Sun, 7 Apr 2013 06:29:52 +0000 (14:29 +0800)
drivers/video/rockchip/lcdc/rk30_lcdc.c

index f9c4ce8f3bc3d436333e8f8bc961a5905a8f06a5..1d594077e484c87a7c4a181f27cc6e1eed27a283 100644 (file)
@@ -280,6 +280,10 @@ static int rk30_load_screen(struct rk_lcdc_device_driver *dev_drv, bool initscre
        {
                screen->init();
        }
+       if(screen->sscreen_set)
+        {
+                screen->sscreen_set(screen,!initscreen);
+        }
        
        printk("%s for lcdc%d ok!\n",__func__,lcdc_dev->id);
        return 0;