rk3288 lcdc:fix display first line data
authorhjc <hjc@rock-chips.com>
Tue, 8 Apr 2014 00:59:48 +0000 (08:59 +0800)
committerhjc <hjc@rock-chips.com>
Tue, 8 Apr 2014 01:00:31 +0000 (09:00 +0800)
drivers/video/rockchip/lcdc/rk3288_lcdc.c

index ef647ff2774bec0b444cc2e4ae27d0ff05984297..490494dd10fde1feb77275dca575875e1454a437 100755 (executable)
@@ -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);