From: Sandor Yu Date: Sat, 7 Apr 2012 08:34:15 +0000 (+0800) Subject: ENGR00179130 Setting 480p Hsync and Vsync polarity is incorrect X-Git-Tag: v3.0.35-fsl_4.1.0~1380 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d13a3a0aca8384c69c68389e436fefd181540afb;p=karo-tx-linux.git ENGR00179130 Setting 480p Hsync and Vsync polarity is incorrect Fix IPU DI registr DI_GENERAL incorrect initialize. Signed-off-by: Sandor Yu --- diff --git a/drivers/mxc/ipu3/ipu_disp.c b/drivers/mxc/ipu3/ipu_disp.c index a34d0601f2bf..229545c9cb34 100644 --- a/drivers/mxc/ipu3/ipu_disp.c +++ b/drivers/mxc/ipu3/ipu_disp.c @@ -1292,8 +1292,8 @@ int32_t ipu_init_sync_panel(struct ipu_soc *ipu, int disp, uint32_t pixel_clk, /*clear DI*/ di_gen = ipu_di_read(ipu, disp, DI_GENERAL); - ipu_di_write(ipu, disp, - di_gen & (0x3 << 20), DI_GENERAL); + di_gen &= (0x3 << 20); + ipu_di_write(ipu, disp, di_gen, DI_GENERAL); if (sig.interlaced) { if (g_ipu_hw_rev >= 2) {