]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/video/omap2/dss/venc.c
OMAP: DSS2: VENC: Remove sleeps at venc enable/disable
[karo-tx-linux.git] / 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);