summaryrefslogtreecommitdiff
path: root/drivers/dma/at_hdmac_regs.h
diff options
context:
space:
mode:
authorNicolas Ferre <nicolas.ferre@atmel.com>2011-05-06 21:56:52 +0400
committerVinod Koul <vinod.koul@intel.com>2011-05-09 10:12:54 +0400
commit23b5e3ad68a3c26a6a36039ea907997664aedcab (patch)
tree4aeeb9c081c05255615eb3fdd97268f58e6cc653 /drivers/dma/at_hdmac_regs.h
parent543aabc7d295bfe2489f184259395e3467520d48 (diff)
downloadlinux-23b5e3ad68a3c26a6a36039ea907997664aedcab.tar.xz
dmaengine: at_hdmac: implement pause and resume in atc_control
Pause and resume controls are useful for audio devices. This also returns correct status from atc_tx_status() in case chan is paused. Idea from dw_dmac patch by Linus Walleij. Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/at_hdmac_regs.h')
-rw-r--r--drivers/dma/at_hdmac_regs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/at_hdmac_regs.h b/drivers/dma/at_hdmac_regs.h
index ae3056df4f4b..087dbf1dd39c 100644
--- a/drivers/dma/at_hdmac_regs.h
+++ b/drivers/dma/at_hdmac_regs.h
@@ -191,6 +191,7 @@ txd_to_at_desc(struct dma_async_tx_descriptor *txd)
*/
enum atc_status {
ATC_IS_ERROR = 0,
+ ATC_IS_PAUSED = 1,
ATC_IS_CYCLIC = 24,
};