[PATCH 1/3] dmaengine: add possibility for cyclic transfers
Linus Walleij
linus.ml.walleij at gmail.com
Mon Aug 16 08:22:16 EDT 2010
2010/8/16 Sascha Hauer <s.hauer at pengutronix.de>:
> Cyclic transfers are useful for audio where a single buffer divided
> in periods has to be transfered endlessly until stopped. After being
> prepared the transfer is started using the dma_async_descriptor->tx_submit
> function. dma_async_descriptor->callback is called after each period.
> The transfer is stopped using the DMA_TERMINATE_ALL callback.
> While being used for cyclic transfers the channel cannot be used
> for other transfer types.
>
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> Cc: Haavard Skinnemoen <haavard.skinnemoen at atmel.com>
Looks good to me.
Acked-by: Linus Walleij <linus.walleij at stericsson.com>
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list