]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/dmaengine.h
Merge branch 'drm-fixes-3.7' of git://people.freedesktop.org/~agd5f/linux into drm...
[karo-tx-linux.git] / include / linux / dmaengine.h
index 9c02a4508b25380123ab6e2b24c6879645b2961a..d3201e438d1640ff51339514a561fc2347427220 100644 (file)
@@ -591,7 +591,7 @@ struct dma_device {
        struct dma_async_tx_descriptor *(*device_prep_dma_cyclic)(
                struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len,
                size_t period_len, enum dma_transfer_direction direction,
-               void *context);
+               unsigned long flags, void *context);
        struct dma_async_tx_descriptor *(*device_prep_interleaved_dma)(
                struct dma_chan *chan, struct dma_interleaved_template *xt,
                unsigned long flags);
@@ -653,10 +653,11 @@ static inline struct dma_async_tx_descriptor *dmaengine_prep_rio_sg(
 
 static inline struct dma_async_tx_descriptor *dmaengine_prep_dma_cyclic(
                struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len,
-               size_t period_len, enum dma_transfer_direction dir)
+               size_t period_len, enum dma_transfer_direction dir,
+               unsigned long flags)
 {
        return chan->device->device_prep_dma_cyclic(chan, buf_addr, buf_len,
-                                               period_len, dir, NULL);
+                                               period_len, dir, flags, NULL);
 }
 
 static inline int dmaengine_terminate_all(struct dma_chan *chan)