usb: dwc3: ep0: Reset TRB counter for ep0 IN
Subsystems (2)
PATCH v2 2/2 usb: dwc3: ep0: Reset TRB counter for ep0 IN
Hi,
Quoted 9 lines · Thinh Nguyen
In control read transfer completion handler, the driver needs to reset the TRB enqueue counter. Since there is one control endpoint structure for each direction, we must also track the TRB enqueue counter for each direction. Currently the driver only resets the TRB counter for control OUT endpoint only. Check for the data direction and properly reset the TRB counter from correct control endpoint.
Signed-off-by Thinh Nguyen <[email protected]>
missing Fixes tag