Message ID | 20240327-digigram-xdma-fixes-v1-1-45f4a52c0283@bootlin.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 5b9706bfc094314c600ab810a61208a7cbaa4cb3 |
Headers | show |
Series | dmaengine: xilinx: xdma: Various fixes for xdma | expand |
diff --git a/drivers/dma/xilinx/xdma.c b/drivers/dma/xilinx/xdma.c index 170017ff2aad..b9788aa8f6b7 100644 --- a/drivers/dma/xilinx/xdma.c +++ b/drivers/dma/xilinx/xdma.c @@ -704,7 +704,7 @@ xdma_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t address, desc_num = 0; for (i = 0; i < periods; i++) { desc_num += xdma_fill_descs(sw_desc, *src, *dst, period_size, desc_num); - addr += i * period_size; + addr += period_size; } tx_desc = vchan_tx_prep(&xdma_chan->vchan, &sw_desc->vdesc, flags);