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

Skip to content
Commit ab794fee authored by Sriharsha Allenki's avatar Sriharsha Allenki
Browse files

usb: dwc3: Disable device events after maximum error retries



Currently if the core could not recover even after maximum
number of error retries there can storm of error interrupts
generated since the interrupts are not handled because
of dwc->err_evt_seen being set on first error event seen.
Hence after maximum error retries disable the device
events and keep the core in softreset state.

Also, reset the err_evt_seen on run/stop clear to ensure
that the interrupts on the next connect/session are
processed properly.

Change-Id: I760e163733bdcc6230d926fa548aa93a5da918a5
Signed-off-by: default avatarSriharsha Allenki <sallenki@codeaurora.org>
parent ec12b494
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