aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2016-08-11 05:18:47 -0400
committerPhilipp Zabel <p.zabel@pengutronix.de>2016-08-29 06:45:05 -0400
commit73cde76a61b622e768af23b0e0062dc39e6891bf (patch)
tree991f9b95ee7efbb3adae4e4d866f87138097e50e
parent1780999ced6df8ce833232852dc6854a388fc248 (diff)
drm/imx: don't call disable_plane in plane destroy path
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>
-rw-r--r--drivers/gpu/drm/imx/ipuv3-plane.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/imx/ipuv3-plane.c b/drivers/gpu/drm/imx/ipuv3-plane.c
index 3c4f6894443c..ce4058f103bd 100644
--- a/drivers/gpu/drm/imx/ipuv3-plane.c
+++ b/drivers/gpu/drm/imx/ipuv3-plane.c
@@ -242,7 +242,6 @@ static void ipu_plane_destroy(struct drm_plane *plane)
242 242
243 DRM_DEBUG_KMS("[%d] %s\n", __LINE__, __func__); 243 DRM_DEBUG_KMS("[%d] %s\n", __LINE__, __func__);
244 244
245 ipu_disable_plane(plane);
246 drm_plane_cleanup(plane); 245 drm_plane_cleanup(plane);
247 kfree(ipu_plane); 246 kfree(ipu_plane);
248} 247}