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

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

usb: dwc3: gadget: Release spinlock to allow timeout



Since spinlock is locked, jiffies does not update
during the loop iterations. If the break condition
is never met, we get stuck in an infinite loop.
Releasing the spinlock solves this issue.

Change-Id: I420c825ce006d976e819793eb569013de87cfc40
Signed-off-by: default avatarBar Weiner <bweiner@codeaurora.org>
parent 9aa23df6
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