Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b4071663 authored by Bjorn Helgaas's avatar Bjorn Helgaas
Browse files

PCI: shpchp: Remove pci_configure_slot() usage



We now configure each PCI device as it is enumerated, in pci_device_add(),
so remove the configuration done in shpchp.

That configuration, in pci_configure_device(), does not include the
MPS/MRRS configuration done by pcie_bus_configure_settings(), so keep
that here.

Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Acked-by: default avatarYinghai Lu <yinghai@kernel.org>
parent 77094fb3
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -69,13 +69,7 @@ int shpchp_configure_device(struct slot *p_slot)
	}

	pci_assign_unassigned_bridge_resources(bridge);

	list_for_each_entry(dev, &parent->devices, bus_list) {
		if (PCI_SLOT(dev->devfn) != p_slot->device)
			continue;
		pci_configure_slot(dev);
	}

	pcie_bus_configure_settings(parent);
	pci_bus_add_devices(parent);

 out: