pinctrl: rockchip: Add missing irq_gc_unlock() call before return error
Subsystems (2)
PATCH 1/1 pinctrl: rockchip: Add missing irq_gc_unlock() call before return error
Signed-off-by Axel Lin <[email protected]>
--- drivers/pinctrl/pinctrl-rockchip.c | 1 + 1 file changed, 1 insertion(+)
drivers/pinctrl/pinctrl-rockchip.c +1 -0
@@ -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 ; }
Signature · 1 line
1.8.1.2
Am Sonntag, 23. Juni 2013, 02:48:34 schrieb Axel Lin:
Quoted 1 line
Signed-off-by Axel Lin <[email protected]>
Thanks for catching this glitch.
Acked-by Heiko Stuebner <[email protected]>
Quoted 15 lines
--- drivers/pinctrl/pinctrl-rockchip.c | 1 + 1 file changed, 1 insertion(+)(quoted diff) +0
-0
b/drivers/pinctrl/pinctrl-rockchip.cindex 427564f..1eb5a2e 100644drivers/pinctrl/pinctrl-rockchip.c +1
-0@@ -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 ; }
Quoted 1 line · Axel Lin
Signed-off-by Axel Lin <[email protected]>
Excellent catch (as always).
Patch applied with Heiko's ACK.
Yours,
Linus Walleij