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

Skip to content
Commit 5cbe8c22 authored by Gerard CAUVY's avatar Gerard CAUVY Committed by Felipe Balbi
Browse files

usb: dwc3: gadget: move AcceptU1Ena and AcceptU2Ena to Reset IRQ



According to the databook, the DWC3 Core will
reset those bits to 0 on USB Bus Reset. This
means we must re-enable those bits on every
reset interrupt.

Because we will always get a Reset interrupt
after loading a gadget driver, we can, instead
of re-enabling something that was just lost,
move the handling of those bits to the Reset
Interrupt.

This patch fixes USB30CV U1/U2 Test.

Signed-off-by: default avatarGerard CAUVY <g-cauvy1@ti.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent c4430a26
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