diff options
author | Vinod Koul <vinod.koul@intel.com> | 2013-10-16 10:04:35 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-10-25 07:45:55 +0200 |
commit | 6d203d1e0af17c33954d3800397f32d86ff8d3cf (patch) | |
tree | d2c7a59ce411b579469b9688680a4adca64d7628 /drivers | |
parent | dmaengine: amba-pl08x: use DMA_COMPLETE for dma completion status (diff) | |
download | linux-6d203d1e0af17c33954d3800397f32d86ff8d3cf.tar.xz linux-6d203d1e0af17c33954d3800397f32d86ff8d3cf.zip |
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')
-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 |