From 02479c7c4be0b38b90676401cbed13c011d66cb3 Mon Sep 17 00:00:00 2001 From: zwl Date: Mon, 11 Aug 2014 16:15:57 +0800 Subject: [PATCH] rk312x lcdc: invert lvds dclk to fix disp bad --- drivers/video/rockchip/lcdc/rk312x_lcdc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/rockchip/lcdc/rk312x_lcdc.c b/drivers/video/rockchip/lcdc/rk312x_lcdc.c index 8c9f5242a58a..8ddc09125348 100755 --- a/drivers/video/rockchip/lcdc/rk312x_lcdc.c +++ b/drivers/video/rockchip/lcdc/rk312x_lcdc.c @@ -790,7 +790,7 @@ static int rk312x_load_screen(struct rk_lcdc_driver *dev_drv, bool initscreen) case SCREEN_LVDS: if (lcdc_dev->soc_type == VOP_RK312X) { mask = m_LVDS_DCLK_EN | m_LVDS_DCLK_INVERT; - val = v_LVDS_DCLK_EN(1) | v_LVDS_DCLK_INVERT(0); + val = v_LVDS_DCLK_EN(1) | v_LVDS_DCLK_INVERT(1); lcdc_msk_reg(lcdc_dev, AXI_BUS_CTRL, mask, val); lcdc_dev->overlay_mode = VOP_RGB_DOMAIN; } -- 2.34.1