summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-05-06 11:11:39 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-05-08 09:55:26 +0200
commit2ab8b7513dfcc69e865aa5a4f7001bf44e22d20f (patch)
tree701f22fee39f67b5aab66181dd8ca790a724c9cf
parent73ebc58ed112f1115fb215cd0d93d2e9a9ffc282 (diff)
downloadbarebox-2ab8b7513dfcc69e865aa5a4f7001bf44e22d20f.tar.gz
pinctrl: i.MX iomux-v3: Print more context in error message
When a devicenode has invalid pinctrl settings then printing the offending node helps debugging it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--drivers/pinctrl/imx-iomux-v3.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pinctrl/imx-iomux-v3.c b/drivers/pinctrl/imx-iomux-v3.c
index 1319690..5dfcde6 100644
--- a/drivers/pinctrl/imx-iomux-v3.c
+++ b/drivers/pinctrl/imx-iomux-v3.c
@@ -117,7 +117,8 @@ static int imx_iomux_v3_set_state(struct pinctrl_device *pdev, struct device_nod
if (!size || size % FSL_PIN_SIZE) {
- dev_err(iomux->pinctrl.dev, "Invalid fsl,pins property\n");
+ dev_err(iomux->pinctrl.dev, "Invalid fsl,pins property in %s\n",
+ np->full_name);
return -EINVAL;
}