From ba62697e971297ffb5104ba71591ee4d9eb1bbf8 Mon Sep 17 00:00:00 2001 From: Barry Song Date: Tue, 6 Nov 2012 21:32:39 +0800 Subject: [PATCH] --- yaml --- r: 358486 b: refs/heads/master c: a14acb4ac2a1486f6633c55eb7f7ded07f3ec9fc h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/dmaengine.h | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 13bfa21010eb..cea5e79712c8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f7d935dcc34fae9ad4a39f2cf8e2a96199c48948 +refs/heads/master: a14acb4ac2a1486f6633c55eb7f7ded07f3ec9fc diff --git a/trunk/include/linux/dmaengine.h b/trunk/include/linux/dmaengine.h index 4c8643794e0d..3aa76dbed166 100644 --- a/trunk/include/linux/dmaengine.h +++ b/trunk/include/linux/dmaengine.h @@ -660,6 +660,13 @@ static inline struct dma_async_tx_descriptor *dmaengine_prep_dma_cyclic( period_len, dir, flags, NULL); } +static inline struct dma_async_tx_descriptor *dmaengine_prep_interleaved_dma( + struct dma_chan *chan, struct dma_interleaved_template *xt, + unsigned long flags) +{ + return chan->device->device_prep_interleaved_dma(chan, xt, flags); +} + static inline int dmaengine_terminate_all(struct dma_chan *chan) { return dmaengine_device_control(chan, DMA_TERMINATE_ALL, 0);