drm/imx: imx-tve: Provide ddc symlink in connector's sysfs
Use the ddc pointer provided by the generic connector. Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@collabora.com> Acked-by: Philipp Zabel <p.zabel@pengutronix.de> Acked-by: Sam Ravnborg <sam@ravnborg.org> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Link: https://patchwork.freedesktop.org/patch/msgid/1c660776741760b8094484268b670a09da8a9042.1564161140.git.andrzej.p@collabora.com
This commit is contained in:
parent
be0ec35940
commit
2ae7eb372e
|
@ -484,8 +484,10 @@ static int imx_tve_register(struct drm_device *drm, struct imx_tve *tve)
|
|||
|
||||
drm_connector_helper_add(&tve->connector,
|
||||
&imx_tve_connector_helper_funcs);
|
||||
drm_connector_init(drm, &tve->connector, &imx_tve_connector_funcs,
|
||||
DRM_MODE_CONNECTOR_VGA);
|
||||
drm_connector_init_with_ddc(drm, &tve->connector,
|
||||
&imx_tve_connector_funcs,
|
||||
DRM_MODE_CONNECTOR_VGA,
|
||||
tve->ddc);
|
||||
|
||||
drm_connector_attach_encoder(&tve->connector, &tve->encoder);
|
||||
|
||||
|
|
Loading…
Reference in New Issue