diff options
author | Nicholas Graumann <nick.graumann@gmail.com> | 2019-10-15 20:18:24 +0530 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-10-20 19:35:27 +0530 |
commit | 8a631a5a0f7d4a4a24dba8587d5d9152be0871cc (patch) | |
tree | 78fe081e736d07f22c1350dfe5ed64e5c3aad465 /crypto/zstd.c | |
parent | 722b9e6d7e49b1dc429f9b65680b325c1ce9a763 (diff) | |
download | linux-8a631a5a0f7d4a4a24dba8587d5d9152be0871cc.tar.gz linux-8a631a5a0f7d4a4a24dba8587d5d9152be0871cc.tar.bz2 linux-8a631a5a0f7d4a4a24dba8587d5d9152be0871cc.zip |
dmaengine: xilinx_dma: Clear desc_pendingcount in xilinx_dma_reset
Whenever we reset the channel, we need to clear desc_pendingcount
along with desc_submitcount. Otherwise when a new transaction is
submitted, the irq coalesce level could be programmed to an incorrect
value in the axidma case.
This behavior can be observed when terminating pending transactions
with xilinx_dma_terminate_all() and then submitting new transactions
without releasing and requesting the channel.
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-8-git-send-email-radhey.shyam.pandey@xilinx.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'crypto/zstd.c')
0 files changed, 0 insertions, 0 deletions