dmaengine: xilinx_dma: Freeup active list based on descriptor completion bit
authorRadhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Mon, 7 Aug 2023 05:51:44 +0000 (11:21 +0530)
committerVinod Koul <vkoul@kernel.org>
Mon, 21 Aug 2023 13:10:37 +0000 (18:40 +0530)
commit7bcdaa65810212c999d21e5c3019d03da37b3be3
treeaa365d4e862c3e67cd6a466901682f7077f13351
parent491e9d409629964457d094ac2b99e319d428dd1d
dmaengine: xilinx_dma: Freeup active list based on descriptor completion bit

AXIDMA IP in SG mode sets completion bit to 1 when the transfer is
completed. Read this bit to move descriptor from active list to the
done list. This feature is needed when interrupt delay timeout and
IRQThreshold is enabled i.e Dly_IrqEn is triggered w/o completing
interrupt threshold.

Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Link: https://lore.kernel.org/r/1691387509-2113129-6-git-send-email-radhey.shyam.pandey@amd.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/xilinx/xilinx_dma.c