dmaengine: axi-dmac: Improve cyclic DMA transfers in SG mode
authorPaul Cercueil <paul@crapouillou.net>
Fri, 15 Dec 2023 13:13:13 +0000 (14:13 +0100)
committerVinod Koul <vkoul@kernel.org>
Thu, 21 Dec 2023 16:09:56 +0000 (21:39 +0530)
commitf60dfe0c561a8f1b8e30d3770997cbaa636f57f9
tree90d92f313157f49707eca4889ca09f4df8e55108
parent238f68a08e19a612b8912c8697901e9982f97811
dmaengine: axi-dmac: Improve cyclic DMA transfers in SG mode

For cyclic transfers, chain the last descriptor to the first one, and
disable IRQ generation if there is no callback registered with the
cyclic transfer.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20231215131313.23840-6-paul@crapouillou.net
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dma-axi-dmac.c