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:Bar Weiner <bweiner@codeaurora.org> Signed-off-by:
Dov Levenglick <dovl@codeaurora.org>
Loading
Please register or sign in to comment