summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-rockchip.c
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/pinctrl-rockchip.c
parent9be580afe4a746818223844b3c2cc97ed7c5c11d (diff)
downloadtalos-op-linux-7cc5f970082eea2a5557040eced0a49ad21f37c7.tar.gz
talos-op-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/pinctrl-rockchip.c')
-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 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;
}
OpenPOWER on IntegriCloud