summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@freescale.com>2015-07-17 13:52:37 +0800
committerNitin Garg <nitin.garg@freescale.com>2015-09-17 09:24:01 -0500
commit8554c92f2db690ac5940fe3b0e663481c904eb31 (patch)
tree050732b1d848a21d8338d47f1d1daa2209676bb0 /include
parent81e7090b8655064088564074b09e4feff7fd7ef7 (diff)
MLK-11259-1: dmaengine: imx-sdma: support dual fifo for DEV_TO_DEV
As SSI has dual fifo, add src_dualfifo and dst_dualfifo in imx_dma_data to support dual fifo in DMA_DEV_TO_DEV. Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/platform_data/dma-imx.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/platform_data/dma-imx.h b/include/linux/platform_data/dma-imx.h
index ce057d7a9ef2..ea93709c193c 100644
--- a/include/linux/platform_data/dma-imx.h
+++ b/include/linux/platform_data/dma-imx.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2004-2014 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright 2004-2015 Freescale Semiconductor, Inc. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
@@ -56,6 +56,8 @@ struct imx_dma_data {
int dma_request2; /* secondary DMA request line */
enum sdma_peripheral_type peripheral_type;
int priority;
+ bool src_dualfifo;
+ bool dst_dualfifo;
};
static inline int imx_dma_is_ipu(struct dma_chan *chan)