diff options
author | Vinod Koul <vinod.koul@intel.com> | 2013-10-16 11:33:47 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-10-25 01:46:13 -0400 |
commit | fdebb7681caaa5f16aaa2efa29e3931fb01b9e80 (patch) | |
tree | d08e9c6f2e4f1a2e5deb5c258a6c30441c5cf4af | |
parent | 5738992b078140267f6637f9f929ec7581f6213e (diff) |
dmaengine: sa11x0: 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>
-rw-r--r-- | drivers/dma/sa11x0-dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/sa11x0-dma.c b/drivers/dma/sa11x0-dma.c index 461a91ab70bb..ab26d46bbe15 100644 --- a/drivers/dma/sa11x0-dma.c +++ b/drivers/dma/sa11x0-dma.c | |||
@@ -436,7 +436,7 @@ static enum dma_status sa11x0_dma_tx_status(struct dma_chan *chan, | |||
436 | enum dma_status ret; | 436 | enum dma_status ret; |
437 | 437 | ||
438 | ret = dma_cookie_status(&c->vc.chan, cookie, state); | 438 | ret = dma_cookie_status(&c->vc.chan, cookie, state); |
439 | if (ret == DMA_SUCCESS) | 439 | if (ret == DMA_COMPLETE) |
440 | return ret; | 440 | return ret; |
441 | 441 | ||
442 | if (!state) | 442 | if (!state) |