dmaengine: sh: rcar-dmac: With cyclic DMA residue 0 is valid
Subsystems (2)
PATCH v3 1/2 dmaengine: sh: rcar-dmac: With cyclic DMA residue 0 is valid
Quoted 3 lines · Dirk Behme
Having a cyclic DMA, a residue 0 is not an indication of a completed DMA. In case of cyclic DMA make sure that
dma_set_residue()is called and with this a residue of 0 is forwarded correctly to the caller.
Applied both, thanks