diff options
author | Vinod Koul <vinod.koul@intel.com> | 2013-10-16 11:34:24 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-10-25 01:46:15 -0400 |
commit | e2360adb4a75a0cd05a7481219b2d7318a062ce7 (patch) | |
tree | 72e4a4ea3e0d4ed46f0c7bd329ac337380abba6d /drivers/dma/ste_dma40.c | |
parent | a8d8d268c1b201eb8449cebf4d5958c34dbc3ccc (diff) |
dmaengine: ste: 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/ste_dma40.c')
-rw-r--r-- | drivers/dma/ste_dma40.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index 3d5e4ee94f5f..b8c031b7de4e 100644 --- a/drivers/dma/ste_dma40.c +++ b/drivers/dma/ste_dma40.c | |||
@@ -2627,7 +2627,7 @@ static enum dma_status d40_tx_status(struct dma_chan *chan, | |||
2627 | } | 2627 | } |
2628 | 2628 | ||
2629 | ret = dma_cookie_status(chan, cookie, txstate); | 2629 | ret = dma_cookie_status(chan, cookie, txstate); |
2630 | if (ret != DMA_SUCCESS) | 2630 | if (ret != DMA_COMPLETE) |
2631 | dma_set_residue(txstate, stedma40_residue(chan)); | 2631 | dma_set_residue(txstate, stedma40_residue(chan)); |
2632 | 2632 | ||
2633 | if (d40_is_paused(d40c)) | 2633 | if (d40_is_paused(d40c)) |