summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/spear/pinctrl-spear.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2012-11-10 17:53:20 +0400
committerLinus Walleij <linus.walleij@linaro.org>2012-11-11 23:18:32 +0400
commite38d457de7be63e6ced1ea254aa51466deb1fef0 (patch)
tree6e18c36639a0de0e0f5ad44c50b67a2adf1e20a7 /drivers/pinctrl/spear/pinctrl-spear.c
parent89377aa5156a93e73a3f7c7ccdc0d0fecf65e0d2 (diff)
downloadlinux-e38d457de7be63e6ced1ea254aa51466deb1fef0.tar.xz
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>
Diffstat (limited to 'drivers/pinctrl/spear/pinctrl-spear.c')
0 files changed, 0 insertions, 0 deletions