Commit 151787ba authored by Liu Ying's avatar Liu Ying Committed by Philipp Zabel

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: default avatarLiu Ying <gnuiyl@gmail.com>
Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent 8b3ce873
...@@ -430,7 +430,6 @@ static int ipu_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, ...@@ -430,7 +430,6 @@ static int ipu_update_plane(struct drm_plane *plane, struct drm_crtc *crtc,
if (crtc != plane->crtc) if (crtc != plane->crtc)
dev_dbg(plane->dev->dev, "crtc change: %p -> %p\n", dev_dbg(plane->dev->dev, "crtc change: %p -> %p\n",
plane->crtc, crtc); plane->crtc, crtc);
plane->crtc = crtc;
if (!ipu_plane->enabled) if (!ipu_plane->enabled)
ipu_plane_enable(ipu_plane); ipu_plane_enable(ipu_plane);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment