Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dmaengine: Document cyclic transfer for dmaengine_prep_peripheral_dma_vec()

Document that the DMA_PREP_REPEAT flag can be used with the
dmaengine_prep_peripheral_dma_vec() to mark a transfer as cyclic similar
to dmaengine_prep_dma_cyclic().

Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Link: https://patch.msgid.link/20260303-axi-dac-cyclic-support-v2-1-0db27b4be95a@analog.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Nuno Sá and committed by
Vinod Koul
5f88899e 28c82997

+2 -1
+2 -1
include/linux/dmaengine.h
··· 996 996 * @vecs: The array of DMA vectors that should be transferred 997 997 * @nents: The number of DMA vectors in the array 998 998 * @dir: Specifies the direction of the data transfer 999 - * @flags: DMA engine flags 999 + * @flags: DMA engine flags - DMA_PREP_REPEAT can be used to mark a cyclic 1000 + * DMA transfer 1000 1001 */ 1001 1002 static inline struct dma_async_tx_descriptor *dmaengine_prep_peripheral_dma_vec( 1002 1003 struct dma_chan *chan, const struct dma_vec *vecs, size_t nents,