瀏覽代碼

drm/imx: plane: Don't set plane->crtc in ipu_plane_update()

Since the drm core sets plane->crtc correctly, we don't need to do that.

Signed-off-by: Liu Ying <gnuiyl@gmail.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Liu Ying 9 年之前
父節點
當前提交
151787ba05
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/gpu/drm/imx/ipuv3-plane.c

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

@@ -430,7 +430,6 @@ static int ipu_update_plane(struct drm_plane *plane, struct drm_crtc *crtc,
 	if (crtc != plane->crtc)
 		dev_dbg(plane->dev->dev, "crtc change: %p -> %p\n",
 				plane->crtc, crtc);
-	plane->crtc = crtc;
 
 	if (!ipu_plane->enabled)
 		ipu_plane_enable(ipu_plane);