Skip to content

Commit

Permalink
OMAP: DSS2: VENC: Remove sleeps at venc enable/disable
Browse files Browse the repository at this point in the history
VENC code had 50ms sleep after enabling the output and 100ms sleep after
disabling the output. I don't see any reason for these sleeps.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
  • Loading branch information
Tomi Valkeinen committed May 11, 2011
1 parent c6f65e1 commit b4de838
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/video/omap2/dss/venc.c
Original file line number Diff line number Diff line change
Expand Up @@ -487,9 +487,6 @@ static int venc_panel_enable(struct omap_dss_device *dssdev)

dssdev->state = OMAP_DSS_DISPLAY_ACTIVE;

/* wait couple of vsyncs until enabling the LCD */
msleep(50);

err1:
mutex_unlock(&venc.venc_lock);

Expand All @@ -513,9 +510,6 @@ static void venc_panel_disable(struct omap_dss_device *dssdev)

venc_power_off(dssdev);

/* wait at least 5 vsyncs after disabling the LCD */
msleep(100);

dssdev->state = OMAP_DSS_DISPLAY_DISABLED;
end:
mutex_unlock(&venc.venc_lock);
Expand Down

0 comments on commit b4de838

Please sign in to comment.