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

Commit 58344f25 authored by Nicolas Ferre's avatar Nicolas Ferre Committed by Dan Williams
Browse files

dmaengine: at_hdmac: no need set ACK in new descriptor



Following descriptor flow in at_hdmac driver, descriptor comming from
atc_desc_get() as already DMA_CTRL_ACK flag set. No need to set it again.

Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent ebcf9b80
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -583,7 +583,6 @@ atc_prep_dma_memcpy(struct dma_chan *chan, dma_addr_t dest, dma_addr_t src,
		desc->lli.ctrlb = ctrlb;
		desc->lli.ctrlb = ctrlb;


		desc->txd.cookie = 0;
		desc->txd.cookie = 0;
		async_tx_ack(&desc->txd);


		if (!first) {
		if (!first) {
			first = desc;
			first = desc;