aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/dw_dmac_regs.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2011-04-18 20:31:32 -0400
committerVinod Koul <vinod.koul@intel.com>2011-05-13 10:10:15 -0400
commita7c57cf7d4327c41510f8cbf45b1b970e02c34f8 (patch)
tree2f1b7ae4940d9540d966f8a287a7337d14cb7c76 /drivers/dma/dw_dmac_regs.h
parent69cea5a00d3135677939fce1fefe54ed522055a0 (diff)
dmaengine/dw_dmac: implement pause and resume in dwc_control
Some peripherals like amba-pl011 needs pause to be implemented in DMA controller drivers. This also returns correct status from dwc_tx_status() in case chan is paused. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Viresh Kumar <viresh.kumar@st.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/dw_dmac_regs.h')
-rw-r--r--drivers/dma/dw_dmac_regs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/dw_dmac_regs.h b/drivers/dma/dw_dmac_regs.h
index 720f821527f8..c968597c32ab 100644
--- a/drivers/dma/dw_dmac_regs.h
+++ b/drivers/dma/dw_dmac_regs.h
@@ -138,6 +138,7 @@ struct dw_dma_chan {
138 void __iomem *ch_regs; 138 void __iomem *ch_regs;
139 u8 mask; 139 u8 mask;
140 u8 priority; 140 u8 priority;
141 bool paused;
141 142
142 spinlock_t lock; 143 spinlock_t lock;
143 144