diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-06-23 08:48:34 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-06-24 15:20:32 +0200 |
commit | 7cc5f970082eea2a5557040eced0a49ad21f37c7 (patch) | |
tree | b7f5f986ae1339f8ca0f352f7f0cfe2827328970 /drivers/pinctrl | |
parent | 9be580afe4a746818223844b3c2cc97ed7c5c11d (diff) | |
download | linux-stable-7cc5f970082eea2a5557040eced0a49ad21f37c7.tar.gz linux-stable-7cc5f970082eea2a5557040eced0a49ad21f37c7.tar.bz2 linux-stable-7cc5f970082eea2a5557040eced0a49ad21f37c7.zip |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinctrl-rockchip.c b/drivers/pinctrl/pinctrl-rockchip.c index 427564f552b4..1eb5a2e43b06 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; } |