pci_alloc_irq_vectors use in 8250_lpss.c

From: Christoph Hellwig
Date: Sun Oct 09 2016 - 13:57:05 EST


Hi Andy,

two comment on your ãatch to add MSI support to the above driver.

First pci_alloc_irq_vectors gained a mandatory flags argument, so
for MSI suport you now need to pass PCI_IRQ_MSI in flags for the
code to work.

Second please make sure to always pair pci_alloc_irq_vectors
with pci_free_irq_vectors on the remove path.

Thanks,
Christoph