summaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorNicolas Ferre <nicolas.ferre@atmel.com>2011-01-12 15:39:07 +0100
committerDan Williams <dan.j.williams@intel.com>2011-01-14 16:54:43 -0800
commit58344f25cf5f3453bfcf4b845ea9ec71153e45c3 (patch)
tree7c2f6dd1a59f48c797635de84297c6e6c5e7dc5c /drivers/dma
parentebcf9b80f9657f44fcb60ee17abe14eadebf3386 (diff)
downloadop-kernel-dev-58344f25cf5f3453bfcf4b845ea9ec71153e45c3.zip
op-kernel-dev-58344f25cf5f3453bfcf4b845ea9ec71153e45c3.tar.gz
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: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/at_hdmac.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c
index 73a470b..c6ddd6f 100644
--- a/drivers/dma/at_hdmac.c
+++ b/drivers/dma/at_hdmac.c
@@ -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;
OpenPOWER on IntegriCloud