Re: [PATCH -next] pinctrl: core: fix missing unlock on error in pinctrl_find_gpio_range_from_pin()

From: Linus Walleij
Date: Tue Jun 18 2013 - 03:42:01 EST


On Tue, Jun 18, 2013 at 6:24 AM, Wei Yongjun <weiyj.lk@xxxxxxxxx> wrote:

> From: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx>
>
> Add the missing unlock before return from function pinctrl_find_gpio_range_from_pin()
> in the error handling case.
>
> Introduced by commit 2ff3477efd7086544b9e298fc63afab0645921b4.
> (pinctrl: add pin list based GPIO ranges)
>
> Signed-off-by: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx>

*Very* nice patch there Wei, applied of course.

Thanks a lot!
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/