diff options
Diffstat (limited to 'drivers/dma/ioat')
-rw-r--r-- | drivers/dma/ioat/dma_v3.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/drivers/dma/ioat/dma_v3.c b/drivers/dma/ioat/dma_v3.c index dc8dcfb7a8a6..a1dcfb2670f7 100644 --- a/drivers/dma/ioat/dma_v3.c +++ b/drivers/dma/ioat/dma_v3.c | |||
@@ -1331,15 +1331,9 @@ int ioat3_dma_probe(struct ioatdma_device *device, int dca) | |||
1331 | } | 1331 | } |
1332 | 1332 | ||
1333 | 1333 | ||
1334 | if (is_raid_device) { | 1334 | dma->device_tx_status = ioat3_tx_status; |
1335 | dma->device_tx_status = ioat3_tx_status; | 1335 | device->cleanup_fn = ioat3_cleanup_event; |
1336 | device->cleanup_fn = ioat3_cleanup_event; | 1336 | device->timer_fn = ioat3_timer_event; |
1337 | device->timer_fn = ioat3_timer_event; | ||
1338 | } else { | ||
1339 | dma->device_tx_status = ioat_dma_tx_status; | ||
1340 | device->cleanup_fn = ioat2_cleanup_event; | ||
1341 | device->timer_fn = ioat2_timer_event; | ||
1342 | } | ||
1343 | 1337 | ||
1344 | #ifdef CONFIG_ASYNC_TX_DISABLE_PQ_VAL_DMA | 1338 | #ifdef CONFIG_ASYNC_TX_DISABLE_PQ_VAL_DMA |
1345 | dma_cap_clear(DMA_PQ_VAL, dma->cap_mask); | 1339 | dma_cap_clear(DMA_PQ_VAL, dma->cap_mask); |