Explorar o código

dmaengine: sh: 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>
Vinod Koul %!s(int64=11) %!d(string=hai) anos
pai
achega
a8d8d268c1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/dma/sh/shdma-base.c

+ 1 - 1
drivers/dma/sh/shdma-base.c

@@ -724,7 +724,7 @@ static enum dma_status shdma_tx_status(struct dma_chan *chan,
 	 * If we don't find cookie on the queue, it has been aborted and we have
 	 * to report error
 	 */
-	if (status != DMA_SUCCESS) {
+	if (status != DMA_COMPLETE) {
 		struct shdma_desc *sdesc;
 		status = DMA_ERROR;
 		list_for_each_entry(sdesc, &schan->ld_queue, node)