From: Jiang Liu Date: Thu, 30 Jul 2015 19:00:08 +0000 (-0500) Subject: PCI/MSI: Free legacy IRQ when enabling MSI/MSI-X X-Git-Tag: omap-for-v4.3/fixes-merge-window~31^2~4^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f2269916b0e509f2926346b58209abfa8316143;p=pandora-kernel.git 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 Signed-off-by: Bjorn Helgaas Acked-by: Thomas Gleixner --- Reading git-diff-tree failed