Skip to content
Snippets Groups Projects
Commit 4ec037f1 authored by Edgar E. Iglesias's avatar Edgar E. Iglesias Committed by Peter Maydell
Browse files

dma/xlnx-zdma: Advance the descriptor address when stopping


Advance the descriptor address when stopping the channel.

Signed-off-by: default avatarEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: default avatarFrancisco Iglesias <frasse.iglesias@gmail.com>
Acked-by: default avatarAlistair Francis <alistair.francis@wdc.com>
Message-id: 20200402134721.27863-5-edgar.iglesias@gmail.com
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
parent 4fc4678c
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment