mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-28 20:03:05 +00:00
gpio: viperboard: Unlock on error in vprbrd_gpiob_direction_output()
Unlock before returning if vprbrd_gpiob_setdir() fails.
Fixes: 55e2d1eec1 ("gpio: viperboard: use new GPIO line value setter callbacks")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/9e72018c-e46e-4e55-83e4-503da4d022fc@sabinyo.mountain
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
This commit is contained in:
parent
0c0438d444
commit
5103fbb7b5
1 changed files with 1 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue