]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dmaengine: dma-axi-dmac: Add helper for getting next desc
authorNuno Sá <nuno.sa@analog.com>
Tue, 3 Mar 2026 10:25:02 +0000 (10:25 +0000)
committerVinod Koul <vkoul@kernel.org>
Mon, 9 Mar 2026 07:28:21 +0000 (08:28 +0100)
commitc60990ba1fb2a6c1ff2789e610aa130f3047a2ff
tree7f690136cfc5fe0e5750923f214897d80c9156d0
parentac85913ab71e0de9827b7f8f7fccb9f20943c02f
dmaengine: dma-axi-dmac: Add helper for getting next desc

Add a new helper for getting the next valid struct axi_dmac_desc. This
will be extended in follow up patches to support to gracefully terminate
cyclic transfers.

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-3-0db27b4be95a@analog.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dma-axi-dmac.c