diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-06-23 02:48:34 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-06-24 15:20:32 +0200 |
commit | 7cc5f970082eea2a5557040eced0a49ad21f37c7 (patch) | |
tree | b7f5f986ae1339f8ca0f352f7f0cfe2827328970 /drivers/pinctrl | |
parent | pinctrl: abx500: rework error path (diff) | |
download | linux-7cc5f970082eea2a5557040eced0a49ad21f37c7.tar.xz linux-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; } |