Commit 62e3879a authored by Philipp Zabel's avatar Philipp Zabel Committed by Russell King

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

This patch fixes the TV Encoder DDC I2C bus property to use the common
'ddc-i2c-bus' property name instead of 'ddc'.
Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent b5d45901
...@@ -581,7 +581,7 @@ static int imx_tve_bind(struct device *dev, struct device *master, void *data) ...@@ -581,7 +581,7 @@ static int imx_tve_bind(struct device *dev, struct device *master, void *data)
tve->dev = dev; tve->dev = dev;
spin_lock_init(&tve->lock); spin_lock_init(&tve->lock);
ddc_node = of_parse_phandle(np, "ddc", 0); ddc_node = of_parse_phandle(np, "i2c-ddc-bus", 0);
if (ddc_node) { if (ddc_node) {
tve->ddc = of_find_i2c_adapter_by_node(ddc_node); tve->ddc = of_find_i2c_adapter_by_node(ddc_node);
of_node_put(ddc_node); of_node_put(ddc_node);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment