From: yxj Date: Wed, 12 Sep 2012 12:24:33 +0000 (+0800) Subject: rkfb:modify power on sequence for lcd and lcdc X-Git-Tag: firefly_0821_release~8631^2~17 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=02873058c5cdeb369680e2b7eacf1440ab34bff1;p=firefly-linux-kernel-4.4.55.git rkfb:modify power on sequence for lcd and lcdc --- diff --git a/drivers/video/rockchip/rk_fb.c b/drivers/video/rockchip/rk_fb.c index 2620761b3e42..d078e38b4f74 100644 --- a/drivers/video/rockchip/rk_fb.c +++ b/drivers/video/rockchip/rk_fb.c @@ -1171,12 +1171,15 @@ static void rkfb_early_resume(struct early_suspend *h) { if (!inf->lcdc_dev_drv[i]) continue; - if(inf->lcdc_dev_drv[i]->screen_ctr_info->io_enable) + if(inf->lcdc_dev_drv[i]->screen_ctr_info->io_enable) //power on inf->lcdc_dev_drv[i]->screen_ctr_info->io_enable(); + + inf->lcdc_dev_drv[i]->resume(inf->lcdc_dev_drv[i]); // data out + if(inf->lcdc_dev_drv[i]->screen0->standby) - inf->lcdc_dev_drv[i]->screen0->standby(0); + inf->lcdc_dev_drv[i]->screen0->standby(0); //screen wake up + - inf->lcdc_dev_drv[i]->resume(inf->lcdc_dev_drv[i]); } }