dmaengine: at_hdmac: no need set ACK in new descriptor
authorNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 12 Jan 2011 14:39:07 +0000 (15:39 +0100)
committerDan Williams <dan.j.williams@intel.com>
Sat, 15 Jan 2011 00:54:43 +0000 (16:54 -0800)
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: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/at_hdmac.c

index 73a470b4809bfc2fbe1a67eaa0618837f7b9c697..c6ddd6ffb8f3e092696988a48d867b3e98773c15 100644 (file)
@@ -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->txd.cookie = 0;
-               async_tx_ack(&desc->txd);
 
                if (!first) {
                        first = desc;