Revert "video: ipu_disp: Fix clock polarity logic"
authorLothar Waßmann <LW@KARO-electronics.de>
Fri, 9 Oct 2015 08:37:42 +0000 (10:37 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 9 Oct 2015 08:37:42 +0000 (10:37 +0200)
This reverts commit 2740e5de4f3cd0aa36efcfe1a995fb6e3858cc97.

The patch made the U-Boot driver behave different from the Linux
driver, so that for U-Boot and Linux different settings in the DTB
would be required!

drivers/video/ipu_disp.c

index b5490b7..c9788e6 100644 (file)
@@ -1157,7 +1157,7 @@ int ipu_init_sync_panel(int disp, uint32_t pixel_clk,
                if (sig.Vsync_pol)
                        di_gen |= DI_GEN_POLARITY_3;
 
-               if (!sig.clk_pol)
+               if (sig.clk_pol)
                        di_gen |= DI_GEN_POL_CLK;
 
                /* Set the clock to stop at counter 6. */