diff options
author | Archit Taneja <archit@ti.com> | 2012-11-20 04:28:17 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-04-03 08:21:09 -0400 |
commit | 77ec05d06fa8a6da65f104382b1026e413119df6 (patch) | |
tree | 7ccfc530dc31f68c3bf9f63059f69ed597467b40 /drivers/video | |
parent | af9f6c35563079cb0ea9b429983914cd4e2c24f3 (diff) |
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: Archit Taneja <archit@ti.com>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/omap2/dss/venc.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/video/omap2/dss/venc.c b/drivers/video/omap2/dss/venc.c index 006caf3cb509..1598d27c2896 100644 --- a/drivers/video/omap2/dss/venc.c +++ b/drivers/video/omap2/dss/venc.c | |||
@@ -519,10 +519,6 @@ int omapdss_venc_display_enable(struct omap_dss_device *dssdev) | |||
519 | goto err0; | 519 | goto err0; |
520 | } | 520 | } |
521 | 521 | ||
522 | if (dssdev->platform_enable) | ||
523 | dssdev->platform_enable(dssdev); | ||
524 | |||
525 | |||
526 | r = venc_power_on(dssdev); | 522 | r = venc_power_on(dssdev); |
527 | if (r) | 523 | if (r) |
528 | goto err1; | 524 | goto err1; |
@@ -533,8 +529,6 @@ int omapdss_venc_display_enable(struct omap_dss_device *dssdev) | |||
533 | 529 | ||
534 | return 0; | 530 | return 0; |
535 | err1: | 531 | err1: |
536 | if (dssdev->platform_disable) | ||
537 | dssdev->platform_disable(dssdev); | ||
538 | omap_dss_stop_device(dssdev); | 532 | omap_dss_stop_device(dssdev); |
539 | err0: | 533 | err0: |
540 | mutex_unlock(&venc.venc_lock); | 534 | mutex_unlock(&venc.venc_lock); |
@@ -551,9 +545,6 @@ void omapdss_venc_display_disable(struct omap_dss_device *dssdev) | |||
551 | 545 | ||
552 | omap_dss_stop_device(dssdev); | 546 | omap_dss_stop_device(dssdev); |
553 | 547 | ||
554 | if (dssdev->platform_disable) | ||
555 | dssdev->platform_disable(dssdev); | ||
556 | |||
557 | mutex_unlock(&venc.venc_lock); | 548 | mutex_unlock(&venc.venc_lock); |
558 | } | 549 | } |
559 | 550 | ||