]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: single: Fix missing unlock on error path
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 11 Jul 2018 12:33:31 +0000 (12:33 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 17 Jul 2018 08:50:05 +0000 (10:50 +0200)
commit821ce484f891990018d2d168a3e8c13545fec968
tree92d3a0bb08baa53ae40997a39bee22954c6aee92
parent864c16d0b8745fc866a3f4aaf88d21b5db8ae5eb
pinctrl: single: Fix missing unlock on error path

Add the missing unlock before return from function
in the error handling case.

Fixes: 0f5972033509 ("pinctrl: single: Fix group and function selector use")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-single.c