[PATCH v2 13/41] drm/mediatek: mtk_dsi: remove now-redundant call to drm_connector_attach_encoder()

Luca Ceresoli
2026-04-23T09:21:29Z

drivers/gpu/drm/mediatek/mtk_dsi.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/mediatek/mtk_dsi.c b/drivers/gpu/drm/mediatek/mtk_dsi.c
index 5aa71fcdcfab..8be32cde2924 100644
--- a/drivers/gpu/drm/mediatek/mtk_dsi.c
+++ b/drivers/gpu/drm/mediatek/mtk_dsi.c
@@ -936,7 +936,6 @@ static int mtk_dsi_encoder_init(struct drm_device *drm, struct mtk_dsi *dsi)
ret = PTR_ERR(dsi->connector);
goto err_cleanup_encoder;
}
- drm_connector_attach_encoder(dsi->connector, &dsi->encoder);

return 0;

--
2.53.0