Skip to content
Commit f5e46aa4 authored by Michael Grzeschik's avatar Michael Grzeschik Committed by Felipe Balbi
Browse files

usb: dwc3: gadget: when the started list is empty stop the active xfer



When we have nothing left to be queued after handling the last trb
we have to stop the current transfer. This way we can ensure that
the next request will be queued with a new and valid timestamp
and will not directly run into an missed xfer.

Reviewed-by: default avatarThinh Nguyen <thinhn@synopsys.com>
Signed-off-by: default avatarMichael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: default avatarFelipe Balbi <balbi@kernel.org>
parent c5a7092f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment