diff options
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/ioat/dma_v3.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/dma/ioat/dma_v3.c b/drivers/dma/ioat/dma_v3.c index f270fa11275b..bff48e8cffc4 100644 --- a/drivers/dma/ioat/dma_v3.c +++ b/drivers/dma/ioat/dma_v3.c | |||
@@ -341,16 +341,8 @@ static void ioat3_restart_channel(struct ioat2_dma_chan *ioat) | |||
341 | { | 341 | { |
342 | struct ioat_chan_common *chan = &ioat->base; | 342 | struct ioat_chan_common *chan = &ioat->base; |
343 | unsigned long phys_complete; | 343 | unsigned long phys_complete; |
344 | u32 status; | ||
345 | |||
346 | status = ioat_chansts(chan); | ||
347 | if (is_ioat_active(status) || is_ioat_idle(status)) | ||
348 | ioat_suspend(chan); | ||
349 | while (is_ioat_active(status) || is_ioat_idle(status)) { | ||
350 | status = ioat_chansts(chan); | ||
351 | cpu_relax(); | ||
352 | } | ||
353 | 344 | ||
345 | ioat2_quiesce(chan, 0); | ||
354 | if (ioat_cleanup_preamble(chan, &phys_complete)) | 346 | if (ioat_cleanup_preamble(chan, &phys_complete)) |
355 | __cleanup(ioat, phys_complete); | 347 | __cleanup(ioat, phys_complete); |
356 | 348 | ||