Re: [PATCH] pinctrl: improve warning messages

2013-08-14 Thread Linus Walleij
On Wed, Aug 14, 2013 at 6:34 PM, Stephen Warren wrote: > On 08/14/2013 10:25 AM, Linus Walleij wrote: >> dev_err(pctldev->dev, >> - "could not request pin %d on device %s\n", >> - pins[i], pinctrl_dev_get_name(pctldev))

Re: [PATCH] pinctrl: improve warning messages

2013-08-14 Thread Stephen Warren
On 08/14/2013 10:25 AM, Linus Walleij wrote: > Print out the affected group name on activation of pin mux > settings, and warn if you cannot free a pin that should have > been part of a certain setting. > diff --git a/drivers/pinctrl/pinmux.c b/drivers/pinctrl/pinmux.c > @@ -411,9 +415,14 @@ int

[PATCH] pinctrl: improve warning messages

2013-08-14 Thread Linus Walleij
Print out the affected group name on activation of pin mux settings, and warn if you cannot free a pin that should have been part of a certain setting. Cc: Sonic Zhang Signed-off-by: Linus Walleij --- drivers/pinctrl/pinmux.c | 35 +-- 1 file changed, 29 insertio