]> asedeno.scripts.mit.edu Git - linux.git/commit
dmaengine: xilinx_dma: Introduce xilinx_dma_get_residue
authorNicholas Graumann <nick.graumann@gmail.com>
Tue, 15 Oct 2019 14:48:21 +0000 (20:18 +0530)
committerVinod Koul <vkoul@kernel.org>
Sun, 20 Oct 2019 14:05:27 +0000 (19:35 +0530)
commita575d0b4e663d818803f75de0cf4bc3c4b35b203
treec125cdc8787ff7112c08924e508e367671b0dac0
parent95f68c62628085abff83a5add8db057fbf532f7f
dmaengine: xilinx_dma: Introduce xilinx_dma_get_residue

Introduce a function that can calculate residues for IPs that support it:
AXI DMA and CDMA.

Signed-off-by: Nicholas Graumann <nick.graumann@gmail.com>
Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Link: https://lore.kernel.org/r/1571150904-3988-5-git-send-email-radhey.shyam.pandey@xilinx.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/xilinx/xilinx_dma.c