Skip to content

Commit

Permalink
drm/imx: don't call disable_plane in plane destroy path
Browse files Browse the repository at this point in the history
When the destroy path is called the plane should already be
disabled. If not, this is a core bug and should not be worked
around in the driver.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
  • Loading branch information
Lucas Stach authored and Philipp Zabel committed Aug 29, 2016
1 parent 1780999 commit 73cde76
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/gpu/drm/imx/ipuv3-plane.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ static void ipu_plane_destroy(struct drm_plane *plane)

DRM_DEBUG_KMS("[%d] %s\n", __LINE__, __func__);

ipu_disable_plane(plane);
drm_plane_cleanup(plane);
kfree(ipu_plane);
}
Expand Down

0 comments on commit 73cde76

Please sign in to comment.