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

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

usb: gadget: configfs: Synchronizing bind/unbind using mutex lock



Synchronization is required because bind/unbind can happen in two
different contexts. For example, function unbind due to
unregister_gadget_item can race with bind which is initiated from
sysfs.

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