Message ID | 1433408582-9828-31-git-send-email-tomi.valkeinen@ti.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/gpu/drm/omapdrm/omap_crtc.c b/drivers/gpu/drm/omapdrm/omap_crtc.c index 96ba21509607..993bd15ecfbd 100644 --- a/drivers/gpu/drm/omapdrm/omap_crtc.c +++ b/drivers/gpu/drm/omapdrm/omap_crtc.c @@ -368,8 +368,6 @@ static int omap_crtc_flush(struct drm_crtc *crtc) WARN_ON(!drm_modeset_is_locked(&crtc->mutex)); WARN_ON(omap_crtc->vblank_irq.registered); - dispc_runtime_get(); - if (dispc_mgr_is_enabled(omap_crtc->channel)) { dispc_mgr_go(omap_crtc->channel); omap_irq_register(crtc->dev, &omap_crtc->vblank_irq); @@ -379,8 +377,6 @@ static int omap_crtc_flush(struct drm_crtc *crtc) reinit_completion(&omap_crtc->completion); } - dispc_runtime_put(); - return 0; }