]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/karo/common/fdt.c
karo: fdt: fix inverted pixelclock polarity
[karo-tx-uboot.git] / board / karo / common / fdt.c
index fe3520b8639bcdcb50e51fd6aba7ad912369c707..42bd118809baa8968932c469850303842a1f0b7b 100644 (file)
@@ -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;
 }