mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 05:02:12 +00:00
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>
This commit is contained in:
parent
a8d8d268c1
commit
e2360adb4a
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user