commit | 5d0bdf2867825a92c0a563957a2fb059149ab0d4 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Aug 11 07:11:05 2016 -0700 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Thu Aug 18 08:02:40 2016 -0500 |
tree | d48f58105d771aef446de3f032d124d348477d95 | |
parent | 4fe0d154880bb6eb833cbe84fa6f385f400f0b9c [diff] |
PCI: Call pci_intx() when using legacy interrupts in pci_alloc_irq_vectors() ahci currently insists on an explicit call to pci_intx() before falling back from MSI or MSI-X to legacy IRQs. As pci_intx() is a no-op if the command register already contains the right value it seems safe and useful to add this call to pci_alloc_irq_vectors() so that ahci can just use pci_alloc_irq_vectors(). Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>