diff options
author | Vinod Koul <vinod.koul@intel.com> | 2013-10-16 21:04:24 +0530 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-10-25 11:16:15 +0530 |
commit | e2360adb4a75a0cd05a7481219b2d7318a062ce7 (patch) | |
tree | 72e4a4ea3e0d4ed46f0c7bd329ac337380abba6d /drivers/dma/ste_dma40.c | |
parent | a8d8d268c1b201eb8449cebf4d5958c34dbc3ccc (diff) | |
download | linux-stable-e2360adb4a75a0cd05a7481219b2d7318a062ce7.tar.gz linux-stable-e2360adb4a75a0cd05a7481219b2d7318a062ce7.tar.bz2 linux-stable-e2360adb4a75a0cd05a7481219b2d7318a062ce7.zip |
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, } ret = dma_cookie_status(chan, cookie, txstate); - if (ret != DMA_SUCCESS) + if (ret != DMA_COMPLETE) dma_set_residue(txstate, stedma40_residue(chan)); if (d40_is_paused(d40c)) |