Skip to content
Commit 37870358 authored by Dan Carpenter's avatar Dan Carpenter Committed by Bartosz Golaszewski
Browse files

gpio: mxc: Unlock on error path in mxc_flip_edge()



We recently added locking to this function but one error path was
over looked.  Drop the lock before returning.

Fixes: e5464277 ("gpio: mxc: Protect GPIO irqchip RMW with bgpio spinlock")
Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Acked-by: default avatarMarek Vasut <marex@denx.de>
Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
parent d63f11c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment