[PATCH 2/3] drm/imx: fix the error message

Fabio Estevam festevam at gmail.com
Sat Jul 9 21:57:43 UTC 2016


From: Fabio Estevam <fabio.estevam at nxp.com>

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 at nxp.com>
---
 drivers/gpu/drm/imx/imx-tve.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/imx/imx-tve.c b/drivers/gpu/drm/imx/imx-tve.c
index c93301c..a52939c 100644
--- a/drivers/gpu/drm/imx/imx-tve.c
+++ b/drivers/gpu/drm/imx/imx-tve.c
@@ -590,7 +590,7 @@ static int imx_tve_bind(struct device *dev, struct device *master, void *data)
 					   &tve->hsync_pin);
 
 		if (ret < 0) {
-			dev_err(dev, "failed to get vsync pin\n");
+			dev_err(dev, "failed to get hsync pin\n");
 			return ret;
 		}
 
-- 
1.9.1



More information about the dri-devel mailing list