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 <[email protected]>
Signed-off-by: Philipp Zabel <[email protected]>
This commit is contained in:
Liu Ying 2016-05-24 18:10:41 +08:00 • committed by Philipp Zabel
commit 151787ba05

View file

@ -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);