|
@@ -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);
|
|
@@ -656,7 +656,7 @@ static inline struct dma_async_tx_descriptor *dmaengine_prep_dma_cyclic(
|
|
|
size_t period_len, enum dma_transfer_direction dir)
|
|
|
{
|
|
|
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)
|