diff options
Diffstat (limited to 'drivers/dma/ioat/dma.c')
-rw-r--r-- | drivers/dma/ioat/dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/ioat/dma.c b/drivers/dma/ioat/dma.c index a4d6cb0c0343..fab440af1f9a 100644 --- a/drivers/dma/ioat/dma.c +++ b/drivers/dma/ioat/dma.c | |||
@@ -603,7 +603,7 @@ static void __cleanup(struct ioat_dma_chan *ioat, unsigned long phys_complete) | |||
603 | */ | 603 | */ |
604 | dump_desc_dbg(ioat, desc); | 604 | dump_desc_dbg(ioat, desc); |
605 | if (tx->cookie) { | 605 | if (tx->cookie) { |
606 | chan->completed_cookie = tx->cookie; | 606 | chan->common.completed_cookie = tx->cookie; |
607 | tx->cookie = 0; | 607 | tx->cookie = 0; |
608 | ioat_dma_unmap(chan, tx->flags, desc->len, desc->hw); | 608 | ioat_dma_unmap(chan, tx->flags, desc->len, desc->hw); |
609 | ioat->active -= desc->hw->tx_cnt; | 609 | ioat->active -= desc->hw->tx_cnt; |