mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
drm: adp: 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 <dmitry.baryshkov@oss.qualcomm.com> Link: https://patch.msgid.link/20260423-drm-bridge-connector-attach_encoder-v2-2-2ae6ca69b390@bootlin.com Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
This commit is contained in:
parent
dcad6dd16e
commit
f96e621e90
|
|
@ -444,8 +444,6 @@ static int adp_setup_mode_config(struct adp_drv_private *adp)
|
|||
if (IS_ERR(adp->connector))
|
||||
return PTR_ERR(adp->connector);
|
||||
|
||||
drm_connector_attach_encoder(adp->connector, adp->encoder);
|
||||
|
||||
ret = drm_vblank_init(drm, drm->mode_config.num_crtc);
|
||||
if (ret < 0) {
|
||||
drm_err(drm, "failed to initialize vblank");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user