diff mbox series

[v3,05/22] drm/msm/hdmi: Provide ddc symlink in hdmi connector sysfs directory

Message ID bd9099df90bc6df4e5fd674fbb020afcbdb28e07.1561735433.git.andrzej.p@collabora.com (mailing list archive)
State New, archived
Headers show
Series [v3,01/22] drm: Include ddc adapter pointer in struct drm_connector | expand

Commit Message

Andrzej Pietrasiewicz June 28, 2019, 4:01 p.m. UTC
Use the ddc pointer provided by the generic connector.

Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@collabora.com>
---
 drivers/gpu/drm/msm/hdmi/hdmi_connector.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/gpu/drm/msm/hdmi/hdmi_connector.c b/drivers/gpu/drm/msm/hdmi/hdmi_connector.c
index 07b4cb877d82..4979e3362687 100644
--- a/drivers/gpu/drm/msm/hdmi/hdmi_connector.c
+++ b/drivers/gpu/drm/msm/hdmi/hdmi_connector.c
@@ -461,6 +461,7 @@  struct drm_connector *msm_hdmi_connector_init(struct hdmi *hdmi)
 	connector->doublescan_allowed = 0;
 
 	drm_connector_attach_encoder(connector, hdmi->encoder);
+	connector->ddc = hdmi->i2c;
 
 	return connector;
 }