drm: omapdrm: Planes are already disabled when destroyed
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sat, 17 Jan 2015 21:12:38 +0000 (23:12 +0200)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 20 Mar 2015 12:30:22 +0000 (14:30 +0200)
Planes are destroyed after framebuffers, which has the side effect of
disabling all planes. There is thus no need to disable planes explicitly
when destroying them.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/gpu/drm/omapdrm/omap_plane.c

index 29f4371..e03512c 100644 (file)
@@ -268,7 +268,6 @@ static void omap_plane_destroy(struct drm_plane *plane)
 
        omap_irq_unregister(plane->dev, &omap_plane->error_irq);
 
-       omap_plane_disable(plane);
        drm_plane_cleanup(plane);
 
        drm_flip_work_cleanup(&omap_plane->unpin_work);