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>
This commit is contained in:
parent
df78222d78
commit
8b37c32647
|
@ -116,7 +116,6 @@ int rcar_du_hdmi_connector_init(struct rcar_du_device *rcdu,
|
|||
if (ret < 0)
|
||||
return ret;
|
||||
|
||||
connector->encoder = encoder;
|
||||
rcon->encoder = renc;
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -84,7 +84,6 @@ int rcar_du_vga_connector_init(struct rcar_du_device *rcdu,
|
|||
if (ret < 0)
|
||||
return ret;
|
||||
|
||||
connector->encoder = encoder;
|
||||
rcon->encoder = renc;
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue