a087146c72
Separate irq request/free from the device lifecycle. After device unregister the parent module can call pci_disable_msi. >From the PCI MSI how to: "Before calling this function, a device driver must always call free_irq() on any interrupt for which it previously called request_irq(). Failure to do so results in a BUG_ON(), leaving the device with MSI enabled and thus leaking its vector." So we need to separately free the irq at unregister to allow the device to be kept around in the case of it still having open FDs. Signed-off-by: Brian Russell <brussell@brocade.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
uio.c | ||
uio_aec.c | ||
uio_cif.c | ||
uio_dmem_genirq.c | ||
uio_fsl_elbc_gpcm.c | ||
uio_mf624.c | ||
uio_netx.c | ||
uio_pci_generic.c | ||
uio_pdrv_genirq.c | ||
uio_pruss.c | ||
uio_sercos3.c |