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

Skip to content
Commit 7389e94f authored by Dov Levenglick's avatar Dov Levenglick
Browse files

Revert "usb: gadget: Perform usb_ep_disable in workqueue"



Performing usb_ep_disable in workqueue is problematic
since usb_ep_enable can be called in atomic context.
This can lead to various synchronization issues for
connect-disconnect-connect scenarios.
A new solution for the deadlock issue is solved by this commit:
1a5456df usb: dwc3: gadget: Release gadget lock when handling suspend/resume

This reverts commit:
bf885ace usb: gadget: Perform usb_ep_disable in workqueue

Change-Id: I9fa275a24c2589315ce3680eab1ab5e1e497795d
Signed-off-by: default avatarBar Weiner <bweiner@codeaurora.org>
Signed-off-by: default avatarDov Levenglick <dovl@codeaurora.org>
parent 4c52f3c7
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