From ee0b9026e1827a1c4651ec1b82ffc843ef8e19ec Mon Sep 17 00:00:00 2001 From: Huang Jiachai Date: Tue, 17 Nov 2015 09:55:34 +0800 Subject: [PATCH] video: rockchip: lcdc: 3368: fix vop config error when use eDP output Change-Id: I2336b95e7dc707a17e417eafd823d6ba6737adf8 Signed-off-by: Huang Jiachai --- drivers/video/rockchip/lcdc/rk3368_lcdc.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/video/rockchip/lcdc/rk3368_lcdc.c b/drivers/video/rockchip/lcdc/rk3368_lcdc.c index 35c116ce0f4c..43cfdcaa4106 100644 --- a/drivers/video/rockchip/lcdc/rk3368_lcdc.c +++ b/drivers/video/rockchip/lcdc/rk3368_lcdc.c @@ -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); -- 2.34.1