From 25661028c5d3e77f3ab1cb97ab27186b50403665 Mon Sep 17 00:00:00 2001 From: Maciej Sosnowski Date: Fri, 7 Nov 2008 01:46:55 +0000 Subject: [PATCH] --- yaml --- r: 118655 b: refs/heads/master c: 12ccea24e309d815d058cdc6ee8bf2c4b85f0c5f h: refs/heads/master i: 118653: 83d081a18eeed236e54d8d5698ca1ccbb33e2de7 118651: f1db4440f7623b71a3d8ce8481e46e55923c3527 118647: 3367214cb96dda0de4de1dae3450e065b7039cf2 118639: c06db399e6d3c90467f063d89bb95c2b82dadc79 118623: 587f33037d38b9cd25f7aa9250c6226dbca8939d 118591: 261e0d05460d3f1dfa0465b4d2ae75a41546db8b 118527: 99e89641813479b9b13b92c8b9aa87e01224e511 v: v3 --- [refs] | 2 +- trunk/drivers/dma/ioat_dma.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index d03d8030a693..6677e11cf9fe 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c2c0b4c5434c0a25f7f7796b29155d53805909f5 +refs/heads/master: 12ccea24e309d815d058cdc6ee8bf2c4b85f0c5f diff --git a/trunk/drivers/dma/ioat_dma.c b/trunk/drivers/dma/ioat_dma.c index dbb8bbb83a32..ecd743f7cc61 100644 --- a/trunk/drivers/dma/ioat_dma.c +++ b/trunk/drivers/dma/ioat_dma.c @@ -525,7 +525,7 @@ static dma_cookie_t ioat1_tx_submit(struct dma_async_tx_descriptor *tx) } hw->ctl = IOAT_DMA_DESCRIPTOR_CTL_CP_STS; - if (new->async_tx.callback) { + if (first->async_tx.callback) { hw->ctl |= IOAT_DMA_DESCRIPTOR_CTL_INT_GN; if (first != new) { /* move callback into to last desc */ @@ -617,7 +617,7 @@ static dma_cookie_t ioat2_tx_submit(struct dma_async_tx_descriptor *tx) } hw->ctl |= IOAT_DMA_DESCRIPTOR_CTL_CP_STS; - if (new->async_tx.callback) { + if (first->async_tx.callback) { hw->ctl |= IOAT_DMA_DESCRIPTOR_CTL_INT_GN; if (first != new) { /* move callback into to last desc */