]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
video: sunxi: Remove check for ddc-i2c-bus property
authorJernej Skrabec <jernej.skrabec@siol.net>
Thu, 22 Apr 2021 00:14:31 +0000 (01:14 +0100)
committerAnatolij Gustschin <agust@denx.de>
Sat, 24 Apr 2021 11:44:52 +0000 (13:44 +0200)
No Allwinner board with DW-HDMI controller use separate I2C bus for
EDID read. Remove that check.

Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
drivers/video/sunxi/sunxi_dw_hdmi.c

index 37e78ff24111fc24ef1e2cba6017e4b245038842..6d2bc206fc2c9832007604573889608b725150e7 100644 (file)
@@ -361,9 +361,6 @@ static int sunxi_dw_hdmi_probe(struct udevice *dev)
                return -1;
        }
 
-       uclass_get_device_by_phandle(UCLASS_I2C, dev, "ddc-i2c-bus",
-                                    &priv->hdmi.ddc_bus);
-
        dw_hdmi_init(&priv->hdmi);
 
        return 0;