From: yxj Date: Thu, 19 Apr 2012 06:32:50 +0000 (+0800) Subject: rk30 fb: do not lock for screen init X-Git-Tag: firefly_0821_release~9381 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=43dfbb2e64c9705504cde5a9bebcce3911b40769;p=firefly-linux-kernel-4.4.55.git rk30 fb: do not lock for screen init --- diff --git a/drivers/video/rockchip/chips/rk30_lcdc.c b/drivers/video/rockchip/chips/rk30_lcdc.c index 994a95ba2daa..c48bf4d1abf3 100644 --- a/drivers/video/rockchip/chips/rk30_lcdc.c +++ b/drivers/video/rockchip/chips/rk30_lcdc.c @@ -218,13 +218,13 @@ static int rk30_load_screen(struct rk_lcdc_device_driver *dev_drv, bool initscre } } - - + + spin_unlock(&lcdc_dev->reg_lock); if(screen->init) { screen->init(); } - spin_unlock(&lcdc_dev->reg_lock); + printk("%s for lcdc%d ok!\n",__func__,lcdc_dev->id); return 0; }