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

Skip to content
Commit bf885ace authored by Bar Weiner's avatar Bar Weiner
Browse files

usb: gadget: Perform usb_ep_disable in workqueue



bam_data_disconnect can be called in interrupt context,
as a result of suspend event. During an interrupt
handling, usb gadget lock is held, so when trying
to disable an endpoint a deadlock happens.
This fix moves the disabling of the data endpoints to
a deferred context, which prevents the deadlock.

Change-Id: I4caf0740842760630aac6649b7fe7ed93a940e7a
Signed-off-by: default avatarBar Weiner <bweiner@codeaurora.org>
parent 8c750d7e
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