diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-11-16 16:53:44 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-12-02 08:54:51 +0200 |
commit | e70f98acaa84ec9ad55e544d0dc8b2d0a36bbeca (patch) | |
tree | 9ea6ccdd20f2a477aedebc4ff49d11eeb72d7c97 /drivers/video | |
parent | f1577ce18004337ec2f6f48109ca14cac10a0a4f (diff) | |
download | linux-e70f98acaa84ec9ad55e544d0dc8b2d0a36bbeca.tar.gz linux-e70f98acaa84ec9ad55e544d0dc8b2d0a36bbeca.tar.bz2 linux-e70f98acaa84ec9ad55e544d0dc8b2d0a36bbeca.zip |
OMAPDSS: APPLY: remove runtime_get
apply.c no longer touches any registers if an output is not enabled.
This means that we don't need to do dispc_runtime_get() anymore, and the
calls can be removed.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/omap2/dss/apply.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/video/omap2/dss/apply.c b/drivers/video/omap2/dss/apply.c index 443f31e74a75..4cc7c37acbb4 100644 --- a/drivers/video/omap2/dss/apply.c +++ b/drivers/video/omap2/dss/apply.c @@ -688,16 +688,11 @@ static void omap_dss_mgr_apply_mgr(struct omap_overlay_manager *mgr) int omap_dss_mgr_apply(struct omap_overlay_manager *mgr) { - int r; unsigned long flags; struct omap_overlay *ovl; DSSDBG("omap_dss_mgr_apply(%s)\n", mgr->name); - r = dispc_runtime_get(); - if (r) - return r; - spin_lock_irqsave(&data_lock, flags); /* Configure overlays */ @@ -711,9 +706,7 @@ int omap_dss_mgr_apply(struct omap_overlay_manager *mgr) spin_unlock_irqrestore(&data_lock, flags); - dispc_runtime_put(); - - return r; + return 0; } static void dss_apply_ovl_enable(struct omap_overlay *ovl, bool enable) |