]> Pileus Git - ~andy/linux/commit
ioat: fix ioat3_irq_reinit
authorDan Williams <dan.j.williams@intel.com>
Thu, 14 Nov 2013 00:30:43 +0000 (16:30 -0800)
committerDan Williams <dan.j.williams@intel.com>
Thu, 14 Nov 2013 19:04:42 +0000 (11:04 -0800)
commit779e561ae2627727ea3d797a7db2496e8bae3430
treeab650d0d60381c7b5b06e34eb7ed9f6e867968cf
parent4c5d9619e06b960d14f5640341f40e71f78801c2
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>
drivers/dma/ioat/dma.c
drivers/dma/ioat/dma_v3.c