From: Lothar Waßmann Date: Fri, 9 Oct 2015 08:37:42 +0000 (+0200) Subject: Revert "video: ipu_disp: Fix clock polarity logic" X-Git-Tag: KARO-TX6UL-2015-10-23~35 X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=commitdiff_plain;h=1992a2e17944e70a9c3499eb0eab13f6627abc82 Revert "video: ipu_disp: Fix clock polarity logic" 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! --- diff --git a/drivers/video/ipu_disp.c b/drivers/video/ipu_disp.c index b5490b7980..c9788e6c01 100644 --- a/drivers/video/ipu_disp.c +++ b/drivers/video/ipu_disp.c @@ -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. */