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

Skip to content
Commit dfe8b29a authored by Hemant Kumar's avatar Hemant Kumar
Browse files

usb: gadget: f_fs: Unlock mutex before unregistering gadget



Release the lock before unregistering gadget item.
Unregistered gadget item will result in unbind call back
to the driver which may use the same lock and resulting
in deadlock condition.

Change-Id: I2f8fba73a831d3bb711fe9310c5758221359819e
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
parent 2ea19f76
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