diff options
author | Nicolas Ferre <nicolas.ferre@atmel.com> | 2011-05-06 19:56:52 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2011-05-09 11:42:54 +0530 |
commit | 23b5e3ad68a3c26a6a36039ea907997664aedcab (patch) | |
tree | 4aeeb9c081c05255615eb3fdd97268f58e6cc653 /drivers/dma/at_hdmac_regs.h | |
parent | 543aabc7d295bfe2489f184259395e3467520d48 (diff) | |
download | linux-23b5e3ad68a3c26a6a36039ea907997664aedcab.tar.bz2 |
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.h | 1 |
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, }; |