drm: omapdrm: Don't get/put dispc in omap_crtc_flush()
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 15 Apr 2015 18:51:45 +0000 (21:51 +0300)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 12 Jun 2015 19:52:49 +0000 (22:52 +0300)
commit0193f0c74445ab0da0b8870c18ea5ef071fa1ec1
treed84f7b5339529bc4be1d5c761459312fd6296c26
parentbec10a2a10f368e66f74a7f8b8795afe8070ae1f
drm: omapdrm: Don't get/put dispc in omap_crtc_flush()

The omap_crtc_flush() function is always called with a reference to the
dispc held. Remove unnecessary calls to dispc_runtime_get() and
dispc_runtime_put().

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_crtc.c