[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
- [PATCH v1 0/5] dma/xlnx-zdma: Bug fixes, Edgar E. Iglesias, 2020/04/02
- [PATCH v1 1/5] dma/xlnx-zdma: Remove comment, Edgar E. Iglesias, 2020/04/02
- [PATCH v1 2/5] dma/xlnx-zdma: Populate DBG0.CMN_BUF_FREE, Edgar E. Iglesias, 2020/04/02
- [PATCH v1 3/5] dma/xlnx-zdma: Clear DMA_DONE when halting, Edgar E. Iglesias, 2020/04/02
- [PATCH v1 4/5] dma/xlnx-zdma: Advance the descriptor address when stopping,
Edgar E. Iglesias <=
- [PATCH v1 5/5] dma/xlnx-zdma: Reorg to fix CUR_DSCR, Edgar E. Iglesias, 2020/04/02
- Re: [PATCH v1 0/5] dma/xlnx-zdma: Bug fixes, Peter Maydell, 2020/04/03