diff options
author | Vinod Koul <vinod.koul@intel.com> | 2013-10-16 13:36:28 +0530 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-10-25 11:15:57 +0530 |
commit | ed83c0c8c11b1c9583f29098a3ac906d9a19fe70 (patch) | |
tree | 6745bef33db008ef7fb79e6752d859ff5746e0f7 /drivers/dma | |
parent | 9ce6e50406ba2c3781df8dc196c85a9437ff0410 (diff) | |
download | blackbird-op-linux-ed83c0c8c11b1c9583f29098a3ac906d9a19fe70.tar.gz blackbird-op-linux-ed83c0c8c11b1c9583f29098a3ac906d9a19fe70.zip |
dmaengine: cppi41: 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')
-rw-r--r-- | drivers/dma/cppi41.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/cppi41.c b/drivers/dma/cppi41.c index 167c0223ae9e..278b3058919a 100644 --- a/drivers/dma/cppi41.c +++ b/drivers/dma/cppi41.c @@ -353,7 +353,7 @@ static enum dma_status cppi41_dma_tx_status(struct dma_chan *chan, /* lock */ ret = dma_cookie_status(chan, cookie, txstate); - if (txstate && ret == DMA_SUCCESS) + if (txstate && ret == DMA_COMPLETE) txstate->residue = c->residue; /* unlock */ |