diff options
Diffstat (limited to 'include/linux/dmaengine.h')
-rw-r--r-- | include/linux/dmaengine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index 9c02a4508b25..09da4e565297 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h | |||
@@ -591,7 +591,7 @@ struct dma_device { | |||
591 | struct dma_async_tx_descriptor *(*device_prep_dma_cyclic)( | 591 | struct dma_async_tx_descriptor *(*device_prep_dma_cyclic)( |
592 | struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len, | 592 | struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len, |
593 | size_t period_len, enum dma_transfer_direction direction, | 593 | size_t period_len, enum dma_transfer_direction direction, |
594 | void *context); | 594 | unsigned long flags, void *context); |
595 | struct dma_async_tx_descriptor *(*device_prep_interleaved_dma)( | 595 | struct dma_async_tx_descriptor *(*device_prep_interleaved_dma)( |
596 | struct dma_chan *chan, struct dma_interleaved_template *xt, | 596 | struct dma_chan *chan, struct dma_interleaved_template *xt, |
597 | unsigned long flags); | 597 | unsigned long flags); |
@@ -656,7 +656,7 @@ static inline struct dma_async_tx_descriptor *dmaengine_prep_dma_cyclic( | |||
656 | size_t period_len, enum dma_transfer_direction dir) | 656 | size_t period_len, enum dma_transfer_direction dir) |
657 | { | 657 | { |
658 | return chan->device->device_prep_dma_cyclic(chan, buf_addr, buf_len, | 658 | return chan->device->device_prep_dma_cyclic(chan, buf_addr, buf_len, |
659 | period_len, dir, NULL); | 659 | period_len, dir, flags, NULL); |
660 | } | 660 | } |
661 | 661 | ||
662 | static inline int dmaengine_terminate_all(struct dma_chan *chan) | 662 | static inline int dmaengine_terminate_all(struct dma_chan *chan) |