Commit ed83c0c8 authored by Vinod Koul's avatar Vinod Koul
Browse files

dmaengine: cppi41: use DMA_COMPLETE for dma completion status

parent 9ce6e504
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */