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

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

usb: dwc3: Fix continuous spurious interrupts



The controller may keep the interrupt line asserted
even when the software acknowledged the interrupt
by reading the GEVNTCOUNT and writing the processed
bytes. This can lead to a storm of spurious interrupts
and software hogging the CPU.
The databook (DWC3 3.00A - Section 6.3.57) suggests
to read the GEVNTCOUNT in this case of continuous interrupts.
Hence, fix the same by reading the GEVNTCOUNT when the
controller is being halted and interrupts are seen.

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