Commit 6d203d1e authored by Vinod Koul's avatar Vinod Koul
Browse files

dmaengine: at_hdma: use DMA_COMPLETE for dma completion status

parent 0996e895
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1102,7 +1102,7 @@ atc_tx_status(struct dma_chan *chan,
	int bytes = 0;

	ret = dma_cookie_status(chan, cookie, txstate);
	if (ret == DMA_SUCCESS)
	if (ret == DMA_COMPLETE)
		return ret;
	/*
	 * There's no point calculating the residue if there's