From c0f848ef856ce90975f4e494adb5f9289fb8ffad Mon Sep 17 00:00:00 2001 From: hjc Date: Tue, 8 Apr 2014 08:59:48 +0800 Subject: [PATCH] =?utf8?q?rk3288=20lcdc=EF=BC=9Afix=20display=20first=20li?= =?utf8?q?ne=20data?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- drivers/video/rockchip/lcdc/rk3288_lcdc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/video/rockchip/lcdc/rk3288_lcdc.c b/drivers/video/rockchip/lcdc/rk3288_lcdc.c index ef647ff2774b..490494dd10fd 100755 --- a/drivers/video/rockchip/lcdc/rk3288_lcdc.c +++ b/drivers/video/rockchip/lcdc/rk3288_lcdc.c @@ -2822,11 +2822,13 @@ static int rk3288_lcdc_config_done(struct rk_lcdc_driver *dev_drv) if ((win->state == 0)&&(win->last_state == 1)) { switch (win->id) { case 0: + lcdc_writel(lcdc_dev,WIN0_CTRL1,0x0); mask = m_WIN0_EN; val = v_WIN0_EN(0); lcdc_msk_reg(lcdc_dev, WIN0_CTRL0, mask,val); break; case 1: + lcdc_writel(lcdc_dev,WIN1_CTRL1,0x0); mask = m_WIN1_EN; val = v_WIN1_EN(0); lcdc_msk_reg(lcdc_dev, WIN1_CTRL0, mask,val); -- 2.34.1