diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2015-06-02 17:27:56 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-06-10 14:52:36 -0400 |
commit | 1200edcbdd0434646fa8c8c99ab17e714ac4fa9d (patch) | |
tree | d1d4b0d2a983d9e456eb2236378dcf16a7fa3bbb | |
parent | 30fb7ba6605671e575b6a7a2e69fe153d6d20141 (diff) |
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: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Pratyush Anand <pratyush.anand@gmail.com>
-rw-r--r-- | drivers/pci/host/pci-layerscape.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/host/pci-layerscape.c b/drivers/pci/host/pci-layerscape.c index 4a6e62f67579..bb5894fb81d6 100644 --- a/drivers/pci/host/pci-layerscape.c +++ b/drivers/pci/host/pci-layerscape.c | |||
@@ -70,7 +70,7 @@ static void ls_pcie_host_init(struct pcie_port *pp) | |||
70 | 70 | ||
71 | dw_pcie_setup_rc(pp); | 71 | dw_pcie_setup_rc(pp); |
72 | 72 | ||
73 | while (!ls_pcie_link_up(pp)) { | 73 | while (!dw_pcie_link_up(pp)) { |
74 | usleep_range(100, 1000); | 74 | usleep_range(100, 1000); |
75 | count++; | 75 | count++; |
76 | if (count >= 200) { | 76 | if (count >= 200) { |