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

Commit fa6a954f authored by Mayank Rana's avatar Mayank Rana
Browse files

usb: dwc3: Process event buffer when pullup is disabled



Commit c8ba6a8b ("usb: dwc3: Disable ep0 and interrupts when
clearing run/stop") added functionality to ignore processing of
event buffer if pullup is not enabled. In some cases, it is
observed that pullup is disabled but controller has raised few
endpoint complete events. dwc3_msm_suspend() API aborts USB LPM
sequence if USB event buffer is not empty which would results
into no APPS power collpase. Fix this issue by processing event
buffer when pullup is disabled which clears event buffer.

Change-Id: I45e9ea15c6a2351b8af970f0afef66df609595f6
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent 0d88d69d
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