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>
This commit is contained in:
Axel Lin 2013-06-23 08:48:34 +08:00 committed by Linus Walleij
parent 9be580afe4
commit 7cc5f97008
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}