浏览代码

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>
Lucas Stach 9 年之前
父节点
当前提交
73cde76a61
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/gpu/drm/imx/ipuv3-plane.c

+ 0 - 1
drivers/gpu/drm/imx/ipuv3-plane.c

@@ -242,7 +242,6 @@ static void ipu_plane_destroy(struct drm_plane *plane)
 
 
 	DRM_DEBUG_KMS("[%d] %s\n", __LINE__, __func__);
 	DRM_DEBUG_KMS("[%d] %s\n", __LINE__, __func__);
 
 
-	ipu_disable_plane(plane);
 	drm_plane_cleanup(plane);
 	drm_plane_cleanup(plane);
 	kfree(ipu_plane);
 	kfree(ipu_plane);
 }
 }