From: yxj Date: Tue, 28 Aug 2012 06:13:12 +0000 (+0800) Subject: rkfb: select current screen in lcdc driver X-Git-Tag: firefly_0821_release~8797 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=cd779aad5de3c4a007033984ee2ebcf05d5df3b4;p=firefly-linux-kernel-4.4.55.git rkfb: select current screen in lcdc driver --- diff --git a/drivers/video/rockchip/rk_fb.c b/drivers/video/rockchip/rk_fb.c index 86f149ac5fb5..a93b737fa7e2 100644 --- a/drivers/video/rockchip/rk_fb.c +++ b/drivers/video/rockchip/rk_fb.c @@ -971,7 +971,6 @@ int rk_fb_register(struct rk_lcdc_device_driver *dev_drv, } dev_drv->init_lcdc(dev_drv); - dev_drv->cur_screen = dev_drv->screen0; dev_drv->load_screen(dev_drv,1); /************fb set,one layer one fb ***********/ dev_drv->fb_index_base = fb_inf->num_fb;