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

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

PCI: iproc: Request host bridge window resources



Request host bridge window resources so they appear in ioport_resource and
iomem_resource and are reflected in /proc/ioports and /proc/iomem.

Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 7baf69c7
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -462,6 +462,10 @@ int iproc_pcie_setup(struct iproc_pcie *pcie, struct list_head *res)
	if (!pcie || !pcie->dev || !pcie->base)
		return -EINVAL;

	ret = devm_request_pci_bus_resources(pcie->dev, res);
	if (ret)
		return ret;

	ret = phy_init(pcie->phy);
	if (ret) {
		dev_err(pcie->dev, "unable to initialize PCIe PHY\n");