summaryrefslogtreecommitdiffstats
path: root/drivers/video/sunxi/sunxi_dw_hdmi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/sunxi/sunxi_dw_hdmi.c')
-rw-r--r--drivers/video/sunxi/sunxi_dw_hdmi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/sunxi/sunxi_dw_hdmi.c b/drivers/video/sunxi/sunxi_dw_hdmi.c
index 6fe1aa7ee4..cec23295b5 100644
--- a/drivers/video/sunxi/sunxi_dw_hdmi.c
+++ b/drivers/video/sunxi/sunxi_dw_hdmi.c
@@ -373,6 +373,9 @@ static int sunxi_dw_hdmi_probe(struct udevice *dev)
priv->hdmi.phy_set = sunxi_dw_hdmi_phy_cfg;
priv->mux = uc_plat->source_id;
+ uclass_get_device_by_phandle(UCLASS_I2C, dev, "ddc-i2c-bus",
+ &priv->hdmi.ddc_bus);
+
dw_hdmi_init(&priv->hdmi);
return 0;