From 7cc5f970082eea2a5557040eced0a49ad21f37c7 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Sun, 23 Jun 2013 08:48:34 +0800 Subject: [PATCH] pinctrl: rockchip: Add missing irq_gc_unlock() call before return error Signed-off-by: Axel Lin Acked-by: Heiko Stuebner Signed-off-by: Linus Walleij --- drivers/pinctrl/pinctrl-rockchip.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.39.5