Commit cfb44455 authored by Andrzej Pietrasiewicz's avatar Andrzej Pietrasiewicz Committed by Neil Armstrong

drm/bridge: ti-tfp410: Provide ddc symlink in connector sysfs directory

Use the ddc pointer provided by the generic connector.
Signed-off-by: default avatarAndrzej Pietrasiewicz <andrzej.p@collabora.com>
Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
Reviewed-by: default avatarEmil Velikov <emil.velikov@collabora.com>
Reviewed-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Signed-off-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/3b61da77a6456805db0deffe6d1a2343dd784730.1564161140.git.andrzej.p@collabora.com
parent 9ebc4d21
...@@ -134,8 +134,10 @@ static int tfp410_attach(struct drm_bridge *bridge) ...@@ -134,8 +134,10 @@ static int tfp410_attach(struct drm_bridge *bridge)
drm_connector_helper_add(&dvi->connector, drm_connector_helper_add(&dvi->connector,
&tfp410_con_helper_funcs); &tfp410_con_helper_funcs);
ret = drm_connector_init(bridge->dev, &dvi->connector, ret = drm_connector_init_with_ddc(bridge->dev, &dvi->connector,
&tfp410_con_funcs, dvi->connector_type); &tfp410_con_funcs,
dvi->connector_type,
dvi->ddc);
if (ret) { if (ret) {
dev_err(dvi->dev, "drm_connector_init() failed: %d\n", ret); dev_err(dvi->dev, "drm_connector_init() failed: %d\n", ret);
return ret; return ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment