Commit e70f98ac authored by Tomi Valkeinen's avatar Tomi Valkeinen

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: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent f1577ce1
...@@ -688,16 +688,11 @@ static void omap_dss_mgr_apply_mgr(struct omap_overlay_manager *mgr) ...@@ -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 omap_dss_mgr_apply(struct omap_overlay_manager *mgr)
{ {
int r;
unsigned long flags; unsigned long flags;
struct omap_overlay *ovl; struct omap_overlay *ovl;
DSSDBG("omap_dss_mgr_apply(%s)\n", mgr->name); DSSDBG("omap_dss_mgr_apply(%s)\n", mgr->name);
r = dispc_runtime_get();
if (r)
return r;
spin_lock_irqsave(&data_lock, flags); spin_lock_irqsave(&data_lock, flags);
/* Configure overlays */ /* Configure overlays */
...@@ -711,9 +706,7 @@ int omap_dss_mgr_apply(struct omap_overlay_manager *mgr) ...@@ -711,9 +706,7 @@ int omap_dss_mgr_apply(struct omap_overlay_manager *mgr)
spin_unlock_irqrestore(&data_lock, flags); spin_unlock_irqrestore(&data_lock, flags);
dispc_runtime_put(); return 0;
return r;
} }
static void dss_apply_ovl_enable(struct omap_overlay *ovl, bool enable) static void dss_apply_ovl_enable(struct omap_overlay *ovl, bool enable)
......
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