Skip to content
Commit 301ec88e authored by Jonathan Bell's avatar Jonathan Bell Committed by Phil Elwell
Browse files

dwc_otg: fiq_fsm: pause when cancelling split transactions



Non-periodic splits will DMA to/from the driver-provided transfer_buffer,
which may be freed immediately after the dequeue call returns. Block until
we know the transfer is complete.

A similar delay is needed when cleaning up disconnects, as the FIQ could
have started a periodic transfer in the previous microframe to the one
that triggered a disconnect.

Signed-off-by: default avatarJonathan Bell <jonathan@raspberrypi.org>
parent dd1494a4
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