summaryrefslogtreecommitdiffstats
path: root/drivers/dma/ste_dma40.c
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2013-10-16 17:34:24 +0200
committerVinod Koul <vinod.koul@intel.com>2013-10-25 07:46:15 +0200
commite2360adb4a75a0cd05a7481219b2d7318a062ce7 (patch)
tree72e4a4ea3e0d4ed46f0c7bd329ac337380abba6d /drivers/dma/ste_dma40.c
parentdmaengine: sh: use DMA_COMPLETE for dma completion status (diff)
downloadlinux-e2360adb4a75a0cd05a7481219b2d7318a062ce7.tar.xz
linux-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.c2
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))