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.
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.