]> git.baikalelectronics.ru Git - kernel.git/commit
ahci: Fix broken fallback to single MSI mode
authorAlexander Gordeev <agordeev@redhat.com>
Fri, 14 Feb 2014 21:27:19 +0000 (14:27 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 14 Feb 2014 21:27:19 +0000 (14:27 -0700)
commitbb906af820002be3f8d1c3169f5676525a931e40
tree748b4fad10579c2e35c05cd550a71a5bd6f3b6ea
parent09b930e8017ea11c7a2c1c67756638f9dd9187bf
ahci: Fix broken fallback to single MSI mode

Commit faca16f0da03 ("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: faca16f0da03 ("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