diff options
author | Edgar E. Iglesias | 2020-04-02 15:47:20 +0200 |
---|---|---|
committer | Peter Maydell | 2020-04-06 11:59:56 +0200 |
commit | 4ec037f1dddfd5771f73af2a1c94f7df55d3fc04 (patch) | |
tree | c267ae83d1298af3d70d67bad0bb7a3c6b6b6132 /hw/dma/xlnx-zdma.c | |
parent | dma/xlnx-zdma: Clear DMA_DONE when halting (diff) | |
download | qemu-4ec037f1dddfd5771f73af2a1c94f7df55d3fc04.tar.gz qemu-4ec037f1dddfd5771f73af2a1c94f7df55d3fc04.tar.xz qemu-4ec037f1dddfd5771f73af2a1c94f7df55d3fc04.zip |
dma/xlnx-zdma: Advance the descriptor address when stopping
Advance the descriptor address when stopping the channel.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Francisco Iglesias <frasse.iglesias@gmail.com>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20200402134721.27863-5-edgar.iglesias@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/dma/xlnx-zdma.c')
-rw-r--r-- | hw/dma/xlnx-zdma.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/dma/xlnx-zdma.c b/hw/dma/xlnx-zdma.c index dd893bc420..e856d233f2 100644 --- a/hw/dma/xlnx-zdma.c +++ b/hw/dma/xlnx-zdma.c @@ -514,7 +514,6 @@ static void zdma_process_descr(XlnxZDMA *s) if (ptype == PT_REG || src_cmd == CMD_STOP) { ARRAY_FIELD_DP32(s->regs, ZDMA_CH_CTRL2, EN, 0); zdma_set_state(s, DISABLED); - return; } if (src_cmd == CMD_HALT) { |