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>
This commit is contained in:
parent
4fc4678c60
commit
4ec037f1dd
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user