Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit abb540b5 authored by David Eccher's avatar David Eccher Committed by Greg Kroah-Hartman
Browse files

usb: gadget: inode.c: fix unbalanced spin_lock in ep0_write



commit b7bd98b7db9fc8fe19da1a5ff0215311c6b95e46 upstream.

Fix bad unlock balance: ep0_write enter with the locks locked from
inode.c:1769, hence it must exit with spinlock held to avoid double
unlock in dev_config.

Signed-off-by: default avatarDavid Eccher <d.eccher@gmail.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ac005830
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment