Skip to contentSkip to conversation

dmaengine: sh: rcar-dmac: With cyclic DMA residue 0 is valid

PATCH New Vinod Koul 1 participant 1 message Apr 23, 2019

Subsystems (2)
lore
Share & tools
lore

Vinod Koul

author maintainer Applied
#0 lore raw

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