Commit 77ec05d0 authored by Archit Taneja's avatar Archit Taneja Committed by Tomi Valkeinen

OMAPDSS: VENC: remove platform_enable/disable calls

The platform_enable/disable callbacks in board files for VENC omap_dss_device
instances don't do anything. Hence, we can remove these callbacks from the VENC
driver.
Signed-off-by: default avatarArchit Taneja <archit@ti.com>
parent af9f6c35
...@@ -519,10 +519,6 @@ int omapdss_venc_display_enable(struct omap_dss_device *dssdev) ...@@ -519,10 +519,6 @@ int omapdss_venc_display_enable(struct omap_dss_device *dssdev)
goto err0; goto err0;
} }
if (dssdev->platform_enable)
dssdev->platform_enable(dssdev);
r = venc_power_on(dssdev); r = venc_power_on(dssdev);
if (r) if (r)
goto err1; goto err1;
...@@ -533,8 +529,6 @@ int omapdss_venc_display_enable(struct omap_dss_device *dssdev) ...@@ -533,8 +529,6 @@ int omapdss_venc_display_enable(struct omap_dss_device *dssdev)
return 0; return 0;
err1: err1:
if (dssdev->platform_disable)
dssdev->platform_disable(dssdev);
omap_dss_stop_device(dssdev); omap_dss_stop_device(dssdev);
err0: err0:
mutex_unlock(&venc.venc_lock); mutex_unlock(&venc.venc_lock);
...@@ -551,9 +545,6 @@ void omapdss_venc_display_disable(struct omap_dss_device *dssdev) ...@@ -551,9 +545,6 @@ void omapdss_venc_display_disable(struct omap_dss_device *dssdev)
omap_dss_stop_device(dssdev); omap_dss_stop_device(dssdev);
if (dssdev->platform_disable)
dssdev->platform_disable(dssdev);
mutex_unlock(&venc.venc_lock); mutex_unlock(&venc.venc_lock);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment