Commit 6d203d1e0af17c33954d3800397f32d86ff8d3cf

Authored by Vinod Koul
1 parent 0996e895d2

dmaengine: at_hdma: use DMA_COMPLETE for dma completion status

Acked-by: Dan Williams <dan.j.williams@intel.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/dma/at_hdmac.c
... ... @@ -1102,7 +1102,7 @@
1102 1102 int bytes = 0;
1103 1103  
1104 1104 ret = dma_cookie_status(chan, cookie, txstate);
1105   - if (ret == DMA_SUCCESS)
  1105 + if (ret == DMA_COMPLETE)
1106 1106 return ret;
1107 1107 /*
1108 1108 * There's no point calculating the residue if there's