Message ID | 20160627232301.GA101555@google.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/pci/host/pcie-rockchip.c b/drivers/pci/host/pcie-rockchip.c index 661d6e04af71..fbb3dd8da0c7 100644 --- a/drivers/pci/host/pcie-rockchip.c +++ b/drivers/pci/host/pcie-rockchip.c @@ -373,6 +373,8 @@ static struct pci_ops rockchip_pcie_ops = { .write = rockchip_pcie_wr_conf, }; +extern void rockchip_pcie_phy_laneoff(struct phy *phy); + /** * rockchip_pcie_init_port - Initialize hardware * @port: PCIe port information @@ -533,6 +535,8 @@ static int rockchip_pcie_init_port(struct rockchip_pcie_port *port) pcie_write(port, 0x0, PCIE_CORE_AXI_CONF_BASE + PCIE_CORE_OB_REGION_DESC1); + rockchip_pcie_phy_laneoff(port->phy); + return 0; }