mirror of https://gitee.com/openkylin/linux.git
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: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
7322e459c1
commit
b5d4590136
|
@ -1605,7 +1605,7 @@ static int imx_hdmi_bind(struct device *dev, struct device *master, void *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) {
|
||||
hdmi->ddc = of_find_i2c_adapter_by_node(ddc_node);
|
||||
if (!hdmi->ddc)
|
||||
|
|
Loading…
Reference in New Issue