]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00179130 Setting 480p Hsync and Vsync polarity is incorrect
authorSandor Yu <R01008@freescale.com>
Sat, 7 Apr 2012 08:34:15 +0000 (16:34 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:23 +0000 (08:34 +0200)
Fix IPU DI registr DI_GENERAL incorrect initialize.

Signed-off-by: Sandor Yu <R01008@freescale.com>
drivers/mxc/ipu3/ipu_disp.c

index a34d0601f2bf7c8030f64ab6e8f62a26cd1241c6..229545c9cb34f80cacdd3d5a8fffdccfcf221854 100644 (file)
@@ -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) {