diff options
author | Vinod Koul <vinod.koul@intel.com> | 2013-10-16 13:34:35 +0530 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-10-25 11:15:55 +0530 |
commit | 6d203d1e0af17c33954d3800397f32d86ff8d3cf (patch) | |
tree | d2c7a59ce411b579469b9688680a4adca64d7628 /drivers/dma/at_hdmac.c | |
parent | 0996e895d261abdabd6f1deaa20bcaedf5f0d257 (diff) |
dmaengine: at_hdma: use DMA_COMPLETE for dma completion status
Acked-by: Dan Williams <dan.j.williams@intel.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/at_hdmac.c')
-rw-r--r-- | drivers/dma/at_hdmac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c index c787f38a186a..1ef74579447d 100644 --- a/drivers/dma/at_hdmac.c +++ b/drivers/dma/at_hdmac.c @@ -1102,7 +1102,7 @@ atc_tx_status(struct dma_chan *chan, int bytes = 0; ret = dma_cookie_status(chan, cookie, txstate); - if (ret == DMA_SUCCESS) + if (ret == DMA_COMPLETE) return ret; /* * There's no point calculating the residue if there's |