]> git.karo-electronics.de Git - linux-beck.git/commitdiff
OMAPDSS: Fix de_level in videomode_to_omap_video_timings()
authorRoel Kluin <roel.kluin@gmail.com>
Sun, 13 Oct 2013 22:44:33 +0000 (00:44 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 18 Oct 2013 07:57:43 +0000 (10:57 +0300)
In videomode_to_omap_video_timings, de_level is always set to HIGH
regardless of what the vm->flags says. Fix this to set it to high or low
according to vm->flags.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
[tomi.valkeinen@ti.com: rewrote the desc]
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/display.c

index fafe7c941a60537cf9015f6166dfb9e15abf8838..669a81fdf58ef3775c677030408ab264c26ef176 100644 (file)
@@ -266,7 +266,7 @@ void videomode_to_omap_video_timings(const struct videomode *vm,
                OMAPDSS_SIG_ACTIVE_LOW;
        ovt->de_level = vm->flags & DISPLAY_FLAGS_DE_HIGH ?
                OMAPDSS_SIG_ACTIVE_HIGH :
-               OMAPDSS_SIG_ACTIVE_HIGH;
+               OMAPDSS_SIG_ACTIVE_LOW;
        ovt->data_pclk_edge = vm->flags & DISPLAY_FLAGS_PIXDATA_POSEDGE ?
                OMAPDSS_DRIVE_SIG_RISING_EDGE :
                OMAPDSS_DRIVE_SIG_FALLING_EDGE;