From: Lothar Waßmann Date: Tue, 16 Jun 2020 07:08:32 +0000 (+0200) Subject: karo: fdt: fix inverted pixelclock polarity X-Git-Tag: KARO_TX6-2020-09-18~4 X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=commitdiff_plain;h=09521c852fd07b1c501e63550805640188d2fbfd;hp=94bd268f9275958c4b0fa7613eaa503ac31129b0 karo: fdt: fix inverted pixelclock polarity --- diff --git a/board/karo/common/fdt.c b/board/karo/common/fdt.c index fe3520b863..42bd118809 100644 --- a/board/karo/common/fdt.c +++ b/board/karo/common/fdt.c @@ -508,7 +508,7 @@ static int fdt_init_fb_mode(const void *blob, int off, struct fb_videomode *fb_m prop = fdt_getprop(blob, off, "pixelclk-active", NULL); if (prop) - fb_mode->sync |= *prop ? 0 : FB_SYNC_CLK_LAT_FALL; + fb_mode->sync |= *prop ? FB_SYNC_CLK_LAT_FALL : 0; return 0; }