Cyclic DMA - callback properties and tx_status residue

Mark Brown broonie at
Thu May 10 05:42:06 EDT 2012

On Thu, May 10, 2012 at 09:14:18AM +0530, Vinod Koul wrote:

> For audio needs I think it is fine if we miss, as long as subsequent
> comes untill we get underrun/overrun.

No, - this is what Russell has been reporting.  Due to the lack of
position callbacks the ASoC dmaengine stuff is counting completions to
work out where it is in the buffer.  If we miss completions then the
drivers will start to loose track of where they are in the buffer.  If
we had usable position reporting this would work OK, or if the ASoC code
were changed to remember where each buffer ends and get that information
passed back in the completion argument then it could recover that way
(but that's fairly painful).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <>

More information about the linux-arm-kernel mailing list