Commit 1200edcb authored by Bjorn Helgaas's avatar Bjorn Helgaas

PCI: layerscape: Use dw_pcie_link_up() consistently

All the other DesignWare-based drivers use dw_pcie_link_up(), so use it in
this driver, too, for consistency.  No functional change.
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Acked-by: default avatarPratyush Anand <pratyush.anand@gmail.com>
parent 30fb7ba6
...@@ -70,7 +70,7 @@ static void ls_pcie_host_init(struct pcie_port *pp) ...@@ -70,7 +70,7 @@ static void ls_pcie_host_init(struct pcie_port *pp)
dw_pcie_setup_rc(pp); dw_pcie_setup_rc(pp);
while (!ls_pcie_link_up(pp)) { while (!dw_pcie_link_up(pp)) {
usleep_range(100, 1000); usleep_range(100, 1000);
count++; count++;
if (count >= 200) { if (count >= 200) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment