video: rockchip: lcdc: 3368: fix vop config error when use eDP output
authorHuang Jiachai <hjc@rock-chips.com>
Tue, 17 Nov 2015 01:55:34 +0000 (09:55 +0800)
committerHuang Jiachai <hjc@rock-chips.com>
Thu, 17 Dec 2015 07:40:08 +0000 (15:40 +0800)
Change-Id: I2336b95e7dc707a17e417eafd823d6ba6737adf8
Signed-off-by: Huang Jiachai <hjc@rock-chips.com>
drivers/video/rockchip/lcdc/rk3368_lcdc.c

index 35c116ce0f4cfda2c8aa8dd960a4e1c64fbd9663..43cfdcaa4106841165d2e5bcc5dcce50fa470d27 100644 (file)
@@ -2084,13 +2084,10 @@ static int rk3368_load_screen(struct rk_lcdc_driver *dev_drv, bool initscreen)
                        mask = m_EDP_OUT_EN | m_RGB_OUT_EN;
                        val = v_EDP_OUT_EN(1) | v_RGB_OUT_EN(0);
                        lcdc_msk_reg(lcdc_dev, SYS_CTRL, mask, val);
-                       /*because edp have to sent aaa fmt */
-                       mask = m_DITHER_DOWN_EN;
-                       val = v_DITHER_DOWN_EN(0);
 
-                       mask |= m_EDP_HSYNC_POL | m_EDP_VSYNC_POL |
+                       mask = m_EDP_HSYNC_POL | m_EDP_VSYNC_POL |
                            m_EDP_DEN_POL | m_EDP_DCLK_POL;
-                       val |= v_EDP_HSYNC_POL(screen->pin_hsync) |
+                       val = v_EDP_HSYNC_POL(screen->pin_hsync) |
                            v_EDP_VSYNC_POL(screen->pin_vsync) |
                            v_EDP_DEN_POL(screen->pin_den) |
                            v_EDP_DCLK_POL(screen->pin_dclk);