Skip to content

Commit

Permalink
OMAPDSS: Fix de_level in videomode_to_omap_video_timings()
Browse files Browse the repository at this point in the history
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 <[email protected]>
[[email protected]: rewrote the desc]
Signed-off-by: Tomi Valkeinen <[email protected]>
  • Loading branch information
RoelKluin authored and tomba committed Oct 18, 2013
1 parent 718b90a commit 9b842a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/omap2/dss/display.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9b842a4

Please sign in to comment.