Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 196754
b: refs/heads/master
c: 35bc42c
h: refs/heads/master
v: v3
  • Loading branch information
Jani Nikula authored and Tomi Valkeinen committed May 18, 2010
1 parent 8e4bac7 commit cad3c96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 27b67c92a30967e3a9e9ea082d4ca4bc6882f879
refs/heads/master: 35bc42c50432d3dde0119f7630f1e4574bd67519
15 changes: 1 addition & 14 deletions trunk/drivers/video/omap2/dss/venc.c
Original file line number Diff line number Diff line change
Expand Up @@ -479,12 +479,6 @@ static int venc_panel_enable(struct omap_dss_device *dssdev)
goto err1;
}

if (dssdev->platform_enable) {
r = dssdev->platform_enable(dssdev);
if (r)
goto err2;
}

venc_power_on(dssdev);

venc.wss_data = 0;
Expand All @@ -494,13 +488,9 @@ static int venc_panel_enable(struct omap_dss_device *dssdev)
/* wait couple of vsyncs until enabling the LCD */
msleep(50);

mutex_unlock(&venc.venc_lock);

return r;
err2:
venc_power_off(dssdev);
err1:
mutex_unlock(&venc.venc_lock);

return r;
}

Expand All @@ -524,9 +514,6 @@ static void venc_panel_disable(struct omap_dss_device *dssdev)
/* wait at least 5 vsyncs after disabling the LCD */
msleep(100);

if (dssdev->platform_disable)
dssdev->platform_disable(dssdev);

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

0 comments on commit cad3c96

Please sign in to comment.