ahci: Fix broken fallback to single MSI mode
authorAlexander Gordeev <agordeev@redhat.com>
Fri, 17 Jan 2014 16:02:15 +0000 (17:02 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 14 Feb 2014 21:22:40 +0000 (14:22 -0700)
commitbc03fd3a8a95a13ecce413790f75f6e1a0f54d27
tree0cae63355cf967a728688a0bd96461dd79283a93
parentf7fc32cb2073902b3ee67d036656889ea75ffcb7
ahci: Fix broken fallback to single MSI mode

Commit 7b92b4f61ec4 ("PCI/MSI: Remove pci_enable_msi_block_auto()")
introduced a regression: if multiple MSI initialization fails, the code
falls back to INTx rather than to single MSI.

Fixes: 7b92b4f61ec4 ("PCI/MSI: Remove pci_enable_msi_block_auto()")
Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Tejun Heo <tj@kernel.org>
drivers/ata/ahci.c