diff options
Diffstat (limited to 'drivers/dma/sa11x0-dma.c')
-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) |