diff options
| author | Andrzej Pietrasiewicz <[email protected]> | 2019-07-26 17:23:04 +0000 |
|---|---|---|
| committer | Neil Armstrong <[email protected]> | 2019-07-31 14:31:44 +0000 |
| commit | be0ec35940bc477eefb6370f04a9e031692ba642 (patch) | |
| tree | 2fe1dbb0f2d824450758a5fe89afa7fd03187ddd /drivers/gpu/drm/imx/imx-ldb.c | |
| parent | drm/sun4i: hdmi: Provide ddc symlink in sun4i hdmi connector sysfs directory (diff) | |
| download | kernel-be0ec35940bc477eefb6370f04a9e031692ba642.tar.gz kernel-be0ec35940bc477eefb6370f04a9e031692ba642.zip | |
drm/imx: imx-ldb: Provide ddc symlink in connector's sysfs
Use the ddc pointer provided by the generic connector.
Signed-off-by: Andrzej Pietrasiewicz <[email protected]>
Acked-by: Philipp Zabel <[email protected]>
Acked-by: Sam Ravnborg <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Signed-off-by: Neil Armstrong <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/bcfe39a0333df951a7d160b3a946c2c32e7eac7f.1564161140.git.andrzej.p@collabora.com
Diffstat (limited to 'drivers/gpu/drm/imx/imx-ldb.c')
| -rw-r--r-- | drivers/gpu/drm/imx/imx-ldb.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/gpu/drm/imx/imx-ldb.c b/drivers/gpu/drm/imx/imx-ldb.c index de62a4cd4827..db461b6a257f 100644 --- a/drivers/gpu/drm/imx/imx-ldb.c +++ b/drivers/gpu/drm/imx/imx-ldb.c @@ -462,9 +462,10 @@ static int imx_ldb_register(struct drm_device *drm, */ drm_connector_helper_add(&imx_ldb_ch->connector, &imx_ldb_connector_helper_funcs); - drm_connector_init(drm, &imx_ldb_ch->connector, - &imx_ldb_connector_funcs, - DRM_MODE_CONNECTOR_LVDS); + drm_connector_init_with_ddc(drm, &imx_ldb_ch->connector, + &imx_ldb_connector_funcs, + DRM_MODE_CONNECTOR_LVDS, + imx_ldb_ch->ddc); drm_connector_attach_encoder(&imx_ldb_ch->connector, encoder); } |
