aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/ste_dma40.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma/ste_dma40.c')
-rw-r--r--drivers/dma/ste_dma40.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c
index 826d0d5d5b0b..ae55091c2272 100644
--- a/drivers/dma/ste_dma40.c
+++ b/drivers/dma/ste_dma40.c
@@ -2347,7 +2347,8 @@ static struct dma_async_tx_descriptor *d40_prep_slave_sg(struct dma_chan *chan,
2347static struct dma_async_tx_descriptor * 2347static struct dma_async_tx_descriptor *
2348dma40_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t dma_addr, 2348dma40_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t dma_addr,
2349 size_t buf_len, size_t period_len, 2349 size_t buf_len, size_t period_len,
2350 enum dma_transfer_direction direction, void *context) 2350 enum dma_transfer_direction direction, unsigned long flags,
2351 void *context)
2351{ 2352{
2352 unsigned int periods = buf_len / period_len; 2353 unsigned int periods = buf_len / period_len;
2353 struct dma_async_tx_descriptor *txd; 2354 struct dma_async_tx_descriptor *txd;