summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2014-04-02 20:17:00 -0700
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>2015-02-04 11:14:38 +0100
commite6d32f1839e7b3b3d913325af2d5a5f0f96cb96a (patch)
tree945b22489b4ef078d1dba2acb95f0026870ff48c /include
parente521126bb7b069dcc58d94a592979961b0fc849f (diff)
downloadkernel-common-e6d32f1839e7b3b3d913325af2d5a5f0f96cb96a.tar.gz
kernel-common-e6d32f1839e7b3b3d913325af2d5a5f0f96cb96a.tar.bz2
kernel-common-e6d32f1839e7b3b3d913325af2d5a5f0f96cb96a.zip
DMA: shdma: add cyclic transfer support
This patch add cyclic transfer support and enables dmaengine_prep_dma_cyclic() Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> [reflown changelog for readablity] Signed-off-by: Vinod Koul <vinod.koul@intel.com> (cherry picked from commit dfbb85cab5f0819d0424a3637b03e7892704fa42) Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'include')
-rw-r--r--include/linux/shdma-base.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/shdma-base.h b/include/linux/shdma-base.h
index f92c0a43c54c..abdf1f229dc3 100644
--- a/include/linux/shdma-base.h
+++ b/include/linux/shdma-base.h
@@ -54,6 +54,7 @@ struct shdma_desc {
dma_cookie_t cookie;
int chunks;
int mark;
+ bool cyclic; /* used as cyclic transfer */
};
struct shdma_chan {