From: Luca Ceresoli Date: Thu, 23 Apr 2026 09:17:15 +0000 (+0200) Subject: drm/tegra: hdmi: remove now-redundant call to drm_connector_attach_encoder() X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0670fc1e75782a9dd0cd94acb7b262077b3f720;p=thirdparty%2Fkernel%2Flinux.git drm/tegra: hdmi: remove now-redundant call to drm_connector_attach_encoder() drm_connector_attach_encoder() is now called by drm_bridge_connector_init(). Reviewed-by: Dmitry Baryshkov Link: https://patch.msgid.link/20260423-drm-bridge-connector-attach_encoder-v2-21-2ae6ca69b390@bootlin.com Signed-off-by: Luca Ceresoli --- diff --git a/drivers/gpu/drm/tegra/hdmi.c b/drivers/gpu/drm/tegra/hdmi.c index 0adcd4244a429..10f02f35c8661 100644 --- a/drivers/gpu/drm/tegra/hdmi.c +++ b/drivers/gpu/drm/tegra/hdmi.c @@ -1576,8 +1576,6 @@ static int tegra_hdmi_init(struct host1x_client *client) connector); return PTR_ERR(connector); } - - drm_connector_attach_encoder(connector, &hdmi->output.encoder); } else { drm_connector_init_with_ddc(drm, &hdmi->output.connector, &tegra_hdmi_connector_funcs,