summaryrefslogtreecommitdiffstats
path: root/drivers/pci/host/pcie-rcar.c
diff options
context:
space:
mode:
authorJiang Liu <jiang.liu@linux.intel.com>2015-07-30 21:00:08 +0200
committerBjorn Helgaas <bhelgaas@google.com>2015-07-30 21:17:28 +0200
commit5f2269916b0e509f2926346b58209abfa8316143 (patch)
tree443173a16164daf978550eb21ddef7425d773849 /drivers/pci/host/pcie-rcar.c
parentPCI: Add helpers to manage pci_dev->irq and pci_dev->irq_managed (diff)
downloadlinux-5f2269916b0e509f2926346b58209abfa8316143.tar.xz
linux-5f2269916b0e509f2926346b58209abfa8316143.zip
PCI/MSI: Free legacy IRQ when enabling MSI/MSI-X
Once MSI/MSI-X is enabled by the device driver, a PCI device won't use legacy IRQs again until MSI/MSI-X is disabled. Call pcibios_free_irq() when enabling MSI/MSI-X and pcibios_alloc_irq() when disabling MSI/MSI-X. This allows arch code to manage resources associated with the legacy IRQ. [bhelgaas: changelog] Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/pci/host/pcie-rcar.c')
0 files changed, 0 insertions, 0 deletions