The omap_crtc_encoder_setup() function is always called with the DSS
enabled. Remove the dispc_runtime_get() and dispc_runtime_put() calls.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
DBG("%s: enable=%d", omap_crtc->name, enable);
- dispc_runtime_get();
-
for (i = 0; i < priv->num_encoders; i++) {
if (priv->encoders[i]->crtc == crtc) {
encoder = priv->encoders[i];
omap_encoder_set_enabled(encoder, true);
}
}
-
- dispc_runtime_put();
}
/* -----------------------------------------------------------------------------