From 4f7a5129134148ad917be5c4164a42823056a9f3 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Sat, 9 Jul 2016 18:57:43 -0300 Subject: [PATCH] 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 Signed-off-by: Philipp Zabel --- drivers/gpu/drm/imx/imx-tve.c | 4 ++-- 1 file 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"); -- 2.34.1