Browse Source

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>
Fabio Estevam 9 years ago
parent
commit
4f7a512913
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/gpu/drm/imx/imx-tve.c

+ 2 - 2
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;
 			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) {
 		if (ret < 0) {
 			dev_err(dev, "failed to get vsync pin\n");
 			dev_err(dev, "failed to get vsync pin\n");