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>master
parent
28c829977f
commit
5f88899ec7
|
|
@ -996,7 +996,8 @@ static inline struct dma_async_tx_descriptor *dmaengine_prep_slave_single(
|
|||
* @vecs: The array of DMA vectors that should be transferred
|
||||
* @nents: The number of DMA vectors in the array
|
||||
* @dir: Specifies the direction of the data transfer
|
||||
* @flags: DMA engine flags
|
||||
* @flags: DMA engine flags - DMA_PREP_REPEAT can be used to mark a cyclic
|
||||
* DMA transfer
|
||||
*/
|
||||
static inline struct dma_async_tx_descriptor *dmaengine_prep_peripheral_dma_vec(
|
||||
struct dma_chan *chan, const struct dma_vec *vecs, size_t nents,
|
||||
|
|
|
|||
Loading…
Reference in New Issue