Skip to contentSkip to conversation

usb: dwc3: ep0: Reset TRB counter for ep0 IN

PATCH Superseded Felipe Balbi 1 participant 1 message Jan 11, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

missing Fixes tag