From 58a1ab27702b9d98cedb7ba16b9f84d28c81a646 Mon Sep 17 00:00:00 2001 From: yxj Date: Tue, 14 Aug 2012 17:47:29 +0800 Subject: [PATCH] rk30 lcdc:delay before wirite lut data,the reg modify only update at the start of every frame after set cfg_done reg --- drivers/video/rockchip/chips/rk30_lcdc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/video/rockchip/chips/rk30_lcdc.c b/drivers/video/rockchip/chips/rk30_lcdc.c index b49d0ccd06e9..14cbe2cff7ba 100644 --- a/drivers/video/rockchip/chips/rk30_lcdc.c +++ b/drivers/video/rockchip/chips/rk30_lcdc.c @@ -904,7 +904,8 @@ static int rk30_set_dsp_lut(struct rk_lcdc_device_driver *dev_drv,int *lut) struct rk30_lcdc_device *lcdc_dev = container_of(dev_drv,struct rk30_lcdc_device,driver); LcdMskReg(lcdc_dev,SYS_CTRL1,m_DSP_LUT_RAM_EN,v_DSP_LUT_RAM_EN(0)); - LCDC_REG_CFG_DONE(); + LCDC_REG_CFG_DONE(); + msleep(25); for(i=0;i<256;i++) { v = lut[i]; -- 2.34.1