Commit 7cc5f970 authored by Axel Lin's avatar Axel Lin Committed by Linus Walleij

pinctrl: rockchip: Add missing irq_gc_unlock() call before return error

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Acked-by: default avatarHeiko Stuebner <heiko@sntech.de>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 9be580af
...@@ -1035,6 +1035,7 @@ static int rockchip_irq_set_type(struct irq_data *d, unsigned int type) ...@@ -1035,6 +1035,7 @@ static int rockchip_irq_set_type(struct irq_data *d, unsigned int type)
polarity &= ~mask; polarity &= ~mask;
break; break;
default: default:
irq_gc_unlock(gc);
return -EINVAL; return -EINVAL;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment