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:
parent
73ebc58ed1
commit
2ab8b7513d
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue