summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/arc/arcpgu_hdmi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/arc/arcpgu_hdmi.c')
-rw-r--r--drivers/gpu/drm/arc/arcpgu_hdmi.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/drm/arc/arcpgu_hdmi.c b/drivers/gpu/drm/arc/arcpgu_hdmi.c
index b69c66b4897e..0ce7f398bcff 100644
--- a/drivers/gpu/drm/arc/arcpgu_hdmi.c
+++ b/drivers/gpu/drm/arc/arcpgu_hdmi.c
@@ -47,10 +47,7 @@ int arcpgu_drm_hdmi_init(struct drm_device *drm, struct device_node *np)
return ret;
/* Link drm_bridge to encoder */
- bridge->encoder = encoder;
- encoder->bridge = bridge;
-
- ret = drm_bridge_attach(drm, bridge);
+ ret = drm_bridge_attach(encoder, bridge, NULL);
if (ret)
drm_encoder_cleanup(encoder);