aboutsummaryrefslogtreecommitdiff
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-06-23 08:48:34 +0800
committerLinus Walleij <linus.walleij@linaro.org>2013-06-24 15:20:32 +0200
commit7cc5f970082eea2a5557040eced0a49ad21f37c7 (patch)
treeb7f5f986ae1339f8ca0f352f7f0cfe2827328970 /drivers/pinctrl
parent9be580afe4a746818223844b3c2cc97ed7c5c11d (diff)
pinctrl: rockchip: Add missing irq_gc_unlock() call before return error
Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/pinctrl-rockchip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinctrl-rockchip.c b/drivers/pinctrl/pinctrl-rockchip.c
index 427564f552b..1eb5a2e43b0 100644
--- a/drivers/pinctrl/pinctrl-rockchip.c
+++ b/drivers/pinctrl/pinctrl-rockchip.c
@@ -1035,6 +1035,7 @@ static int rockchip_irq_set_type(struct irq_data *d, unsigned int type)
polarity &= ~mask;
break;
default:
+ irq_gc_unlock(gc);
return -EINVAL;
}