Re: [PATCH] dmaengine: Clarify cyclic transfer residue documentation

From: Vinod Koul
Date: Mon Apr 11 2022 - 09:46:54 EST


On 31-03-22, 15:41, Paul Kocialkowski wrote:
> The current documentation for the residue reported in a cyclic transfer
> case mentions that the reported residue should be relative to the current
> period only. However the definition of DMA_RESIDUE_GRANULARITY_SEGMENT
> specifies that the residue should be updated after each period for
> a cyclic transfer, which is in direct contradiction.
>
> Moreover the pcm_dmaengine common code uses the residue relative to
> the whole cyclic buffer size, not one period.
>
> Correct the residue-related documentation to reflect this.

Applied, thanks

--
~Vinod