summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/imx
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2016-07-09 18:57:43 -0300
committerPhilipp Zabel <p.zabel@pengutronix.de>2016-07-12 18:24:31 +0200
commit4f7a5129134148ad917be5c4164a42823056a9f3 (patch)
treee061e207b4ee372e39988e2eedf07406482e91bb /drivers/gpu/drm/imx
parentae8308b236437e596d3154c7565b9fc72d469e9a (diff)
drm/imx: imx-tve: fix the error message
The error message should say "hsync" instead of "vsync" as we have just checked the "fsl,hsync-pin" property. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/imx')
-rw-r--r--drivers/gpu/drm/imx/imx-tve.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/imx/imx-tve.c b/drivers/gpu/drm/imx/imx-tve.c
index 934be4d2abeb..5e875944ffa2 100644
--- a/drivers/gpu/drm/imx/imx-tve.c
+++ b/drivers/gpu/drm/imx/imx-tve.c
@@ -589,8 +589,8 @@ static int imx_tve_bind(struct device *dev, struct device *master, void *data)
return ret;
}
- ret |= of_property_read_u32(np, "fsl,vsync-pin",
- &tve->di_vsync_pin);
+ ret = of_property_read_u32(np, "fsl,vsync-pin",
+ &tve->di_vsync_pin);
if (ret < 0) {
dev_err(dev, "failed to get vsync pin\n");