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

Skip to content
Commit 4c657c1a authored by Pratham Pratap's avatar Pratham Pratap
Browse files

usb: dwc3: gadget: Clear run/stop irrespective of softconnect



In a scenario, where disconnnect is racing with composition
switch the run/stop bit is not getting cleared from vbus_session
since dwc3_gadget_pullup is waiting for the spinlock to be released.

Fix this by clearing run/stop bit irrespective of softconnect.

Change-Id: Ib2331061043cd20e149d35049587f44769906c89
Signed-off-by: default avatarPratham Pratap <prathampratap@codeaurora.org>
parent ca8e02c4
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