summaryrefslogtreecommitdiff
path: root/drivers/dma/ioat/dma.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2013-11-14 04:30:43 +0400
committerDan Williams <dan.j.williams@intel.com>2013-11-14 23:04:42 +0400
commit779e561ae2627727ea3d797a7db2496e8bae3430 (patch)
treeab650d0d60381c7b5b06e34eb7ed9f6e867968cf /drivers/dma/ioat/dma.c
parent4c5d9619e06b960d14f5640341f40e71f78801c2 (diff)
downloadlinux-779e561ae2627727ea3d797a7db2496e8bae3430.tar.xz
ioat: fix ioat3_irq_reinit
The implementation of ioat3_irq_reinit has two bugs: 1/ The mode is incorrectly set to MSIX for the MSI case 2/ The 'dev_id' parameter to free_irq is the ioatdma_device not the channel in the msi and intx case Include a small cleanup to clarify that ioat3_irq_reinit is only for bwd hardware Cc: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/ioat/dma.c')
-rw-r--r--drivers/dma/ioat/dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/ioat/dma.c b/drivers/dma/ioat/dma.c
index fb879d9f026f..4f67473f3b81 100644
--- a/drivers/dma/ioat/dma.c
+++ b/drivers/dma/ioat/dma.c
@@ -934,7 +934,7 @@ msi:
pci_disable_msi(pdev);
goto intx;
}
- device->irq_mode = IOAT_MSIX;
+ device->irq_mode = IOAT_MSI;
goto done;
intx: