Skip to content

Commit

Permalink
imx-drm: imx-hdmi: Fix DDC I2C bus property
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Philipp Zabel authored and Russell King committed Mar 7, 2014
1 parent 7322e45 commit b5d4590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/imx-drm/imx-hdmi.c
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit b5d4590

Please sign in to comment.