From 43dfbb2e64c9705504cde5a9bebcce3911b40769 Mon Sep 17 00:00:00 2001 From: yxj Date: Thu, 19 Apr 2012 14:32:50 +0800 Subject: [PATCH] rk30 fb: do not lock for screen init --- drivers/video/rockchip/chips/rk30_lcdc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } -- 2.34.1