dmaengine: xilinx_dma: Remove residue from channel data
authorRadhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Tue, 15 Oct 2019 14:48:20 +0000 (20:18 +0530)
committerVinod Koul <vkoul@kernel.org>
Sun, 20 Oct 2019 14:05:27 +0000 (19:35 +0530)
commit95f68c62628085abff83a5add8db057fbf532f7f
tree5a81a1b1f1780210708ef699963365bb223058da
parent0f45e75e336f85aeee0392042e022814bf033aa2
dmaengine: xilinx_dma: Remove residue from channel data

There is no use of storing channel data residue field. So clean it up.
In tx_status simply pass calculated residue to dma_set_residue.

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