summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/rcar-du/rcar_du_lvdscon.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2015-02-23 14:22:44 +0300
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2015-03-03 17:16:02 +0300
commit8b37c3264788a13861f318a8bfc7d73f0d0986ce (patch)
treef40b5cff40f669cababe07c06e56f4639d1f5cfd /drivers/gpu/drm/rcar-du/rcar_du_lvdscon.c
parentdf78222d78f0f985ffb7917df4a058113e227561 (diff)
downloadlinux-8b37c3264788a13861f318a8bfc7d73f0d0986ce.tar.xz
drm: rcar-du: Don't set connector->encoder at init time
The drm_connector encoder field points to the encoder driving the connector. No such association exists at init time, as all pipelines are disabled. Don't set the field. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Diffstat (limited to 'drivers/gpu/drm/rcar-du/rcar_du_lvdscon.c')
-rw-r--r--drivers/gpu/drm/rcar-du/rcar_du_lvdscon.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/rcar-du/rcar_du_lvdscon.c b/drivers/gpu/drm/rcar-du/rcar_du_lvdscon.c
index 6d9811c052c4..7c0b08fe0774 100644
--- a/drivers/gpu/drm/rcar-du/rcar_du_lvdscon.c
+++ b/drivers/gpu/drm/rcar-du/rcar_du_lvdscon.c
@@ -125,7 +125,6 @@ int rcar_du_lvds_connector_init(struct rcar_du_device *rcdu,
if (ret < 0)
return ret;
- connector->encoder = encoder;
lvdscon->connector.encoder = renc;
return 0;