drm: omapdrm: Planes are already disabled when destroyed

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>
This commit is contained in:
Laurent Pinchart 2015-01-17 23:12:38 +02:00
Родитель a350da8be4
Коммит 87bb2ef15b
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

@ -268,7 +268,6 @@ static void omap_plane_destroy(struct drm_plane *plane)
omap_irq_unregister(plane->dev, &omap_plane->error_irq); omap_irq_unregister(plane->dev, &omap_plane->error_irq);
omap_plane_disable(plane);
drm_plane_cleanup(plane); drm_plane_cleanup(plane);
drm_flip_work_cleanup(&omap_plane->unpin_work); drm_flip_work_cleanup(&omap_plane->unpin_work);