Xilinx / dma_ip_drivers

Xilinx QDMA IP Drivers
https://xilinx.github.io/dma_ip_drivers/
581 stars 421 forks source link

xdma: explicitly stop engine on transfer completion #144

Open kgmayer opened 2 years ago

kgmayer commented 2 years ago

When used with the eop_flush flag, the driver may be interrupted before all descriptors has been processed by the XDMA core, and it may so happen that during the interrupt processing, the engine has already processed all descriptors, but the driver is not aware of it. The proposed change explicitly stops the engine in such cases.