From: Liu Ying Date: Tue, 24 May 2016 10:10:41 +0000 (+0800) Subject: drm/imx: plane: Don't set plane->crtc in ipu_plane_update() X-Git-Tag: v4.14-rc1~3068^2~2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=151787ba0562fd70e7b669a1b5a398875e4fc8e7;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Philipp Zabel --- diff --git a/drivers/gpu/drm/imx/ipuv3-plane.c b/drivers/gpu/drm/imx/ipuv3-plane.c index aabbaf0..a4bb441 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, 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);