From: Edgar E. Iglesias Date: Thu, 2 Apr 2020 13:47:20 +0000 (+0200) Subject: dma/xlnx-zdma: Advance the descriptor address when stopping X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=4ec037f1dddfd5771f73af2a1c94f7df55d3fc04;p=qmiga%2Fqemu.git dma/xlnx-zdma: Advance the descriptor address when stopping Advance the descriptor address when stopping the channel. Signed-off-by: Edgar E. Iglesias Reviewed-by: Francisco Iglesias Acked-by: Alistair Francis Message-id: 20200402134721.27863-5-edgar.iglesias@gmail.com Signed-off-by: Peter Maydell --- 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) {