diff options
author | Vinod Koul <vinod.koul@intel.com> | 2013-10-16 11:22:38 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-10-25 01:46:12 -0400 |
commit | 5738992b078140267f6637f9f929ec7581f6213e (patch) | |
tree | 793eea38c18b6541de757030bea662dd7babfa89 /drivers/dma/ppc4xx | |
parent | 7cce5083b738e3e693abe082d9958686bcb88d32 (diff) |
dmaengine: ppc4xx: use DMA_COMPLETE for dma completion status
Acked-by: Dan Williams <dan.j.williams@intel.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/ppc4xx')
-rw-r--r-- | drivers/dma/ppc4xx/adma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/ppc4xx/adma.c b/drivers/dma/ppc4xx/adma.c index 370ff8265630..60e02ae38b04 100644 --- a/drivers/dma/ppc4xx/adma.c +++ b/drivers/dma/ppc4xx/adma.c | |||
@@ -3891,7 +3891,7 @@ static enum dma_status ppc440spe_adma_tx_status(struct dma_chan *chan, | |||
3891 | 3891 | ||
3892 | ppc440spe_chan = to_ppc440spe_adma_chan(chan); | 3892 | ppc440spe_chan = to_ppc440spe_adma_chan(chan); |
3893 | ret = dma_cookie_status(chan, cookie, txstate); | 3893 | ret = dma_cookie_status(chan, cookie, txstate); |
3894 | if (ret == DMA_SUCCESS) | 3894 | if (ret == DMA_COMPLETE) |
3895 | return ret; | 3895 | return ret; |
3896 | 3896 | ||
3897 | ppc440spe_adma_slot_cleanup(ppc440spe_chan); | 3897 | ppc440spe_adma_slot_cleanup(ppc440spe_chan); |