diff options
Diffstat (limited to 'drivers/dma/ioat/dma_v2.c')
-rw-r--r-- | drivers/dma/ioat/dma_v2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/ioat/dma_v2.c b/drivers/dma/ioat/dma_v2.c index c6e4531fe52..01ed1cfd3eb 100644 --- a/drivers/dma/ioat/dma_v2.c +++ b/drivers/dma/ioat/dma_v2.c | |||
@@ -158,7 +158,7 @@ static void __cleanup(struct ioat2_dma_chan *ioat, unsigned long phys_complete) | |||
158 | seen_current = true; | 158 | seen_current = true; |
159 | } | 159 | } |
160 | ioat->tail += i; | 160 | ioat->tail += i; |
161 | BUG_ON(!seen_current); /* no active descs have written a completion? */ | 161 | BUG_ON(active && !seen_current); /* no active descs have written a completion? */ |
162 | 162 | ||
163 | chan->last_completion = phys_complete; | 163 | chan->last_completion = phys_complete; |
164 | if (ioat->head == ioat->tail) { | 164 | if (ioat->head == ioat->tail) { |