summaryrefslogtreecommitdiffstats
path: root/drivers/dma/ioat_dma.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2008-03-04 20:26:01 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-03-04 20:26:01 +0100
commitb1c3c3ebf70548bb182d570b79a3f21045cd30e5 (patch)
treead70af0d0fa33b737ff1ae28e59761865b24bdae /drivers/dma/ioat_dma.c
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/min... (diff)
parentioat: fix 'ack' handling, driver must ensure that 'ack' is zero (diff)
downloadlinux-b1c3c3ebf70548bb182d570b79a3f21045cd30e5.tar.xz
linux-b1c3c3ebf70548bb182d570b79a3f21045cd30e5.zip
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx
* 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx: ioat: fix 'ack' handling, driver must ensure that 'ack' is zero dmaengine: fix sparse warning fsldma: do not cleanup descriptors in hardirq context dmaengine: add driver for Freescale MPC85xx DMA controller
Diffstat (limited to 'drivers/dma/ioat_dma.c')
-rw-r--r--drivers/dma/ioat_dma.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dma/ioat_dma.c b/drivers/dma/ioat_dma.c
index dff38accc5c1..4017d9e7acd2 100644
--- a/drivers/dma/ioat_dma.c
+++ b/drivers/dma/ioat_dma.c
@@ -714,6 +714,7 @@ static struct dma_async_tx_descriptor *ioat1_dma_prep_memcpy(
new->len = len;
new->dst = dma_dest;
new->src = dma_src;
+ new->async_tx.ack = 0;
return &new->async_tx;
} else
return NULL;
@@ -741,6 +742,7 @@ static struct dma_async_tx_descriptor *ioat2_dma_prep_memcpy(
new->len = len;
new->dst = dma_dest;
new->src = dma_src;
+ new->async_tx.ack = 0;
return &new->async_tx;
} else
return NULL;