]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
OMAP: DSS2: VENC: Remove sleeps at venc enable/disable
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 2 Jun 2010 14:57:33 +0000 (17:57 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 11 May 2011 11:19:24 +0000 (14:19 +0300)
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>
drivers/video/omap2/dss/venc.c

index d5d4c5af90697f8c5efdde33e62a3adc1e9382a1..983172672460d55a725ef6bda69f94d65b7b56d5 100644 (file)
@@ -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);
 
@@ -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);