summaryrefslogtreecommitdiff
path: root/drivers/dma/ioat/dma.h
diff options
context:
space:
mode:
authorVaishnav Achath <vaishnav.a@ti.com>2022-09-14 14:00:49 +0300
committerVinod Koul <vkoul@kernel.org>2022-09-29 20:16:09 +0300
commite8e2f92b1553b977aef8bb4fa4e4c5b69c8d9d54 (patch)
tree95579a5d835f3c592f0fc6425adc37c9cf6be944 /drivers/dma/ioat/dma.h
parentf2b816a1dfb8b4bbbecd1603e6c17c3d457e2c0a (diff)
downloadlinux-e8e2f92b1553b977aef8bb4fa4e4c5b69c8d9d54.tar.xz
dmaengine: ti: k3-udma: Respond TX done if DMA_PREP_INTERRUPT is not requested
If the DMA consumer driver does not expect the callback for TX done, then we need not perform the channel RT byte counter calculations and estimate the completion but return complete on first attempt itself.This assumes that the consumer who did not request DMA_PREP_INTERRUPT has its own mechanism for understanding TX completion, example: MCSPI EOW interrupt can be used as TX completion signal for a SPI transaction. Signed-off-by: Vaishnav Achath <vaishnav.a@ti.com> Acked-by: Peter Ujfalusi <peter.ujfalusi@gmail.com> Link: https://lore.kernel.org/r/20220914110049.5842-1-vaishnav.a@ti.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/ioat/dma.h')
0 files changed, 0 insertions, 0 deletions