aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiu Ying <gnuiyl@gmail.com>2016-05-24 06:10:41 -0400
committerPhilipp Zabel <p.zabel@pengutronix.de>2016-05-30 03:14:00 -0400
commit151787ba0562fd70e7b669a1b5a398875e4fc8e7 (patch)
treee53ee00639527595912e2d65a23618ab98126ec4
parent8b3ce87377dfd462c7300a1e8aa8c2c1966716c7 (diff)
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>
-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 aabbaf070e75..a4bb44118d33 100644
--- a/drivers/gpu/drm/imx/ipuv3-plane.c
+++ b/drivers/gpu/drm/imx/ipuv3-plane.c
@@ -430,7 +430,6 @@ static int ipu_update_plane(struct drm_plane *plane, struct drm_crtc *crtc,
430 if (crtc != plane->crtc) 430 if (crtc != plane->crtc)
431 dev_dbg(plane->dev->dev, "crtc change: %p -> %p\n", 431 dev_dbg(plane->dev->dev, "crtc change: %p -> %p\n",
432 plane->crtc, crtc); 432 plane->crtc, crtc);
433 plane->crtc = crtc;
434 433
435 if (!ipu_plane->enabled) 434 if (!ipu_plane->enabled)
436 ipu_plane_enable(ipu_plane); 435 ipu_plane_enable(ipu_plane);