aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/at_hdmac.c
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2013-10-16 04:04:35 -0400
committerVinod Koul <vinod.koul@intel.com>2013-10-25 01:45:55 -0400
commit6d203d1e0af17c33954d3800397f32d86ff8d3cf (patch)
treed2c7a59ce411b579469b9688680a4adca64d7628 /drivers/dma/at_hdmac.c
parent0996e895d261abdabd6f1deaa20bcaedf5f0d257 (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.c2
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,
1102 int bytes = 0; 1102 int bytes = 0;
1103 1103
1104 ret = dma_cookie_status(chan, cookie, txstate); 1104 ret = dma_cookie_status(chan, cookie, txstate);
1105 if (ret == DMA_SUCCESS) 1105 if (ret == DMA_COMPLETE)
1106 return ret; 1106 return ret;
1107 /* 1107 /*
1108 * There's no point calculating the residue if there's 1108 * There's no point calculating the residue if there's