qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v1 4/5] dma/xlnx-zdma: Advance the descriptor address when stoppi


From: Edgar E. Iglesias
Subject: [PATCH v1 4/5] dma/xlnx-zdma: Advance the descriptor address when stopping
Date: Thu, 2 Apr 2020 15:47:20 +0200

From: "Edgar E. Iglesias" <address@hidden>

Advance the descriptor address when stopping the channel.

Signed-off-by: Edgar E. Iglesias <address@hidden>
---
 hw/dma/xlnx-zdma.c | 1 -
 1 file changed, 1 deletion(-)

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) {
-- 
2.20.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]