commit | e38d457de7be63e6ced1ea254aa51466deb1fef0 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Sat Nov 10 21:53:20 2012 +0800 |
committer | Linus Walleij <linus.walleij@linaro.org> | Sun Nov 11 20:18:32 2012 +0100 |
tree | 6e18c36639a0de0e0f5ad44c50b67a2adf1e20a7 | |
parent | 89377aa5156a93e73a3f7c7ccdc0d0fecf65e0d2 [diff] |
pinctrl: pinmux: Release all taken pins in pinmux_enable_setting error paths Currently pinmux_enable_setting does not release all taken pins if ops->enable() returns error. This patch ensures all taken pins are released in any error paths. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>