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

Skip to content
Commit 0a77934a authored by Pratham Pratap's avatar Pratham Pratap
Browse files

usb: dwc3: gadget: Clear pending events when stopping controller



After clearing run/stop bit there might be events still pending
with the controller which will not allow the controller to be
halted. Fix this by simply clearing GEVNTCOUNT(n) by reading and
writing back the counts.

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