From 1992a2e17944e70a9c3499eb0eab13f6627abc82 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lothar=20Wa=C3=9Fmann?= Date: Fri, 9 Oct 2015 10:37:42 +0200 Subject: [PATCH] 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! --- drivers/video/ipu_disp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ -- 2.39.2