drm/imx: imx-tve: fix the error message
authorFabio Estevam <fabio.estevam@nxp.com>
Sat, 9 Jul 2016 21:57:43 +0000 (18:57 -0300)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 12 Jul 2016 16:24:31 +0000 (18:24 +0200)
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>
drivers/gpu/drm/imx/imx-tve.c

index 934be4d2abeb359696ca84817a4a7f8d76a57a7e..5e875944ffa214f48f06d7ed8b687aabd1705ffb 100644 (file)
@@ -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");