diff options
author | Viresh Kumar <viresh.kumar@st.com> | 2012-02-01 16:12:26 +0530 |
---|---|---|
committer | Vinod Koul <vinod.koul@linux.intel.com> | 2012-02-22 18:15:38 +0530 |
commit | 327e6970258618da810f72e86cf2a8b803927e14 (patch) | |
tree | ce5d4ac48b3b21a3d70d0acceebaa8b9e212daa1 /drivers/dma/dw_dmac_regs.h | |
parent | 6bc711f6bd9dd393e1f9bbae354906affcd02aa5 (diff) | |
download | op-kernel-dev-327e6970258618da810f72e86cf2a8b803927e14.zip op-kernel-dev-327e6970258618da810f72e86cf2a8b803927e14.tar.gz |
dmaengine/dw_dmac: Add support for DMA_SLAVE_CONFIG
This patch adds support for DMA_SLAVE_CONFIG in dwc DMAC controller. Fields in
struct dw_dma_slave for passing similar data are preserved in this patch untill
all existing users are fixed.
That will be handled later in this patchset.
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'drivers/dma/dw_dmac_regs.h')
-rw-r--r-- | drivers/dma/dw_dmac_regs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/dma/dw_dmac_regs.h b/drivers/dma/dw_dmac_regs.h index 5eef694..2005d30 100644 --- a/drivers/dma/dw_dmac_regs.h +++ b/drivers/dma/dw_dmac_regs.h @@ -153,6 +153,9 @@ struct dw_dma_chan { struct dw_cyclic_desc *cdesc; unsigned int descs_allocated; + + /* configuration passed via DMA_SLAVE_CONFIG */ + struct dma_slave_config dma_sconfig; }; static inline struct dw_dma_chan_regs __iomem * |