Skip to content
Commit e8e2f92b authored by Vaishnav Achath's avatar Vaishnav Achath Committed by Vinod Koul
Browse files

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: default avatarVaishnav Achath <vaishnav.a@ti.com>
Acked-by: default avatarPeter Ujfalusi <peter.ujfalusi@gmail.com>
Link: https://lore.kernel.org/r/20220914110049.5842-1-vaishnav.a@ti.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent f2b816a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment