aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/pci/pcie/portdrv_core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/pcie/portdrv_core.c b/drivers/pci/pcie/portdrv_core.c
index 5a5bfe7cdf5f..e39982503863 100644
--- a/drivers/pci/pcie/portdrv_core.c
+++ b/drivers/pci/pcie/portdrv_core.c
@@ -473,6 +473,7 @@ void pcie_port_device_remove(struct pci_dev *dev)
473 struct pcie_port_data *port_data = pci_get_drvdata(dev); 473 struct pcie_port_data *port_data = pci_get_drvdata(dev);
474 474
475 device_for_each_child(&dev->dev, NULL, remove_iter); 475 device_for_each_child(&dev->dev, NULL, remove_iter);
476 pci_disable_device(dev);
476 477
477 switch (port_data->port_irq_mode) { 478 switch (port_data->port_irq_mode) {
478 case PCIE_PORT_MSIX_MODE: 479 case PCIE_PORT_MSIX_MODE: