]> 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)
commitcac97606765f56b713f5e455e52a2e67e9c22fd4
tree92d3a0bb08baa53ae40997a39bee22954c6aee92
parent51f78a70a65b4f72fdb24d68e1e1ddf92e89604b
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