pinctrl: imx: do not fail when parsing a group fails
authorSascha Hauer <s.hauer@pengutronix.de>
Fri, 9 Aug 2013 12:20:52 +0000 (14:20 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 15 Aug 2013 20:13:17 +0000 (22:13 +0200)
commit5e13762cf8e5a4998c3a80d2265f0c3b3277854e
tree4b8ae4f4b34c72778558102ee12e10bb101faf56
parent1bf1fea95ff9161fafccbcac76b37bbadc924bd0
pinctrl: imx: do not fail when parsing a group fails

The i.MX pinctrl driver completely bails out when it detects an error
in the pinctrl nodes. This usually means that whatever error a
devicetree has the user is left blind because even the console cannot
be initialized without working pinmux.

Instead of bailing out completely, just continue probing. This makes
the pinctrl driver work, only the erroneous groups will fail later
during pin request time.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-imx.c