Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6ca3a7a9 authored by Steven J. Magnani's avatar Steven J. Magnani Committed by Dan Williams
Browse files

fsldma: Fix cookie issues



fsl_dma_tx_submit() only sets the cookie on the first descriptor of a
transaction. It should set the cookie on all.

Signed-off-by: default avatarSteven J. Magnani <steve@digidescorp.com>
Acked-by: default avatarIra W. Snyder <iws@ovro.caltech.edu>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 9ad7bd29
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -362,7 +362,7 @@ static dma_cookie_t fsl_dma_tx_submit(struct dma_async_tx_descriptor *tx)
		if (cookie < 0)
			cookie = 1;

		desc->async_tx.cookie = cookie;
		child->async_tx.cookie = cookie;
	}

	chan->common.cookie = cookie;