Cyclic DMA - callback properties and tx_status residue

Mark Brown broonie at opensource.wolfsonmicro.com
Fri May 11 10:02:01 EDT 2012


On Thu, May 10, 2012 at 04:31:15PM +0530, Vinod Koul wrote:

> This should not be in ASoC library. The driver should be able to detect
> if a tasklet was called for many dma completions and notify the client
> (soc-lib) accordingly.

Certainly if we're going to keep the current API with completions in the
DMA requests I'd really expect that the completions would get called -
if we changed that around then perhaps it'd make more sense for the
audio to keep track of things.  Obviously if we get reliable position
information and audio uses that then this is definitely an ASoC thing.

> One way to do this would be to ensure that the descriptor is marked in
> irq_handler and then all descriptor completed notified in tasklet.

Yes, ideally this would be in the dmaengine core so individual DMA
drivers didn't need to worry about it either.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120511/c3eeb1c5/attachment.sig>


More information about the linux-arm-kernel mailing list