Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b5d45901 authored by Philipp Zabel's avatar Philipp Zabel Committed by Russell King
Browse files

imx-drm: imx-hdmi: Fix DDC I2C bus property



This patch fixes the DDC I2C bus property to use the common 'ddc-i2c-bus'
property name instead of 'ddc'. This is already documented in
Documentation/devicetree/bindings/staging/imx-drm/hdmi.txt

Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 7322e459
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1605,7 +1605,7 @@ static int imx_hdmi_bind(struct device *dev, struct device *master, void *data)
		hdmi->dev_type = device_id->driver_data;
		hdmi->dev_type = device_id->driver_data;
	}
	}


	ddc_node = of_parse_phandle(np, "ddc", 0);
	ddc_node = of_parse_phandle(np, "ddc-i2c-bus", 0);
	if (ddc_node) {
	if (ddc_node) {
		hdmi->ddc = of_find_i2c_adapter_by_node(ddc_node);
		hdmi->ddc = of_find_i2c_adapter_by_node(ddc_node);
		if (!hdmi->ddc)
		if (!hdmi->ddc)