From ddb327bd4e7693e3bd3d03fe60d524436957007b Mon Sep 17 00:00:00 2001 From: yxj Date: Sat, 26 Jan 2013 16:08:37 +0800 Subject: [PATCH] move load_screen to rk_fb_register --- drivers/video/rockchip/rk_fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/rockchip/rk_fb.c b/drivers/video/rockchip/rk_fb.c index f756440e8226..7c7ff9fb59f4 100644 --- a/drivers/video/rockchip/rk_fb.c +++ b/drivers/video/rockchip/rk_fb.c @@ -95,7 +95,6 @@ static int rk_fb_open(struct fb_info *info,int user) else { dev_drv->open(dev_drv,layer_id,1); - dev_drv->load_screen(dev_drv,1); } return 0; @@ -1173,6 +1172,7 @@ int rk_fb_register(struct rk_lcdc_device_driver *dev_drv, if(dev_drv->screen_ctr_info->prop == PRMRY) //show logo for primary display device { fb_inf->fb[0]->fbops->fb_open(fb_inf->fb[0],1); + dev_drv->load_screen(dev_drv,1); fb_inf->fb[0]->fbops->fb_set_par(fb_inf->fb[0]); #if defined(CONFIG_LOGO_LINUX_BMP) -- 2.34.1