diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2009-01-13 14:42:01 +0100 |
---|---|---|
committer | Jesse Barnes <jbarnes@hobbes.lan> | 2009-03-19 19:29:22 -0700 |
commit | f118c0c3cff4fed39bde1863f9d59850719645cc (patch) | |
tree | aef3aaa33d5c20c21d222e43ce295693d1f0d718 /drivers/mtd/nand/fsl_upm.c | |
parent | 90e9cd50f7feeddc911325c8a8c1b7e1fccc6599 (diff) | |
download | blackbird-op-linux-f118c0c3cff4fed39bde1863f9d59850719645cc.tar.gz blackbird-op-linux-f118c0c3cff4fed39bde1863f9d59850719645cc.zip |
PCI: PCIe portdrv: Do not enable port device before setting up interrupts
The PCI Express port driver calls pci_enable_device() before setting
up interrupts, which is wrong, because if there is an interrupt pin
configured for the port, pci_enable_device() will likely set up an
interrupt link for it. However, this shouldn't be done if either
MSI or MSI-X interrupt mode is chosen for the port.
The solution is to call pci_enable_device() after setting up
interrupts, because in that case the interrupt link won't be set up
if MSI or MSI-X are enabled.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/mtd/nand/fsl_upm.c')
0 files changed, 0 insertions, 0 deletions