[PATCH RFC 33/77] ioat: Disable MSI-X in case request of IRQ failed

Alexander Gordeev agordeev at redhat.com
Wed Oct 2 20:48:49 EST 2013


Signed-off-by: Alexander Gordeev <agordeev at redhat.com>
---
 drivers/dma/ioat/dma.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/dma/ioat/dma.c b/drivers/dma/ioat/dma.c
index 5ff6fc1..acee3b2 100644
--- a/drivers/dma/ioat/dma.c
+++ b/drivers/dma/ioat/dma.c
@@ -937,6 +937,7 @@ msix:
 				chan = ioat_chan_by_index(device, j);
 				devm_free_irq(dev, msix->vector, chan);
 			}
+			pci_disable_msix(pdev);
 			goto msix_single_vector;
 		}
 	}
-- 
1.7.7.6



More information about the Linuxppc-dev mailing list