rk3188 lcdc: do not call sscreen_set in shutdown
authoryxj <yxj@rock-chips.com>
Fri, 10 May 2013 09:51:10 +0000 (17:51 +0800)
committeryxj <yxj@rock-chips.com>
Sat, 18 May 2013 09:11:45 +0000 (17:11 +0800)
drivers/video/rockchip/lcdc/rk3188_lcdc.c

index 8ac6fa3ad2e29ca660ec886030be5fcb9811588a..4d103899e6c09277508db2d1369b0c30b7581fb0 100644 (file)
@@ -1520,8 +1520,6 @@ static void rk3188_lcdc_shutdown(struct platform_device *pdev)
                lcdc_dev->driver.cur_screen->standby(1);
        if(lcdc_dev->driver.screen_ctr_info->io_disable) //power off the screen if necessary
                lcdc_dev->driver.screen_ctr_info->io_disable();
-       if(lcdc_dev->driver.cur_screen->sscreen_set) //turn off  lvds if necessary
-               lcdc_dev->driver.cur_screen->sscreen_set(lcdc_dev->driver.cur_screen , 0);
        rk3188_lcdc_deint(lcdc_dev);
        rk_fb_unregister(&(lcdc_dev->driver));  
 }