Skip to content

Commit

Permalink
dmaengine: at_hdmac: no need set ACK in new descriptor
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nicolas Ferre authored and Dan Williams committed Jan 15, 2011
1 parent ebcf9b8 commit 58344f2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/dma/at_hdmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 58344f2

Please sign in to comment.