From: Axel Lin Date: Sun, 23 Jun 2013 00:48:34 +0000 (+0800) Subject: pinctrl: rockchip: Add missing irq_gc_unlock() call before return error X-Git-Tag: upstream/snapshot3+hdmi~4800^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7cc5f970082eea2a5557040eced0a49ad21f37c7;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 --- diff --git a/drivers/pinctrl/pinctrl-rockchip.c b/drivers/pinctrl/pinctrl-rockchip.c index 427564f..1eb5a2e 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; }