9
0
Fork 0

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>
This commit is contained in:
Sascha Hauer 2014-05-06 11:11:39 +02:00
parent 73ebc58ed1
commit 2ab8b7513d
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}