Skip to content

Commit

Permalink
PCI: layerscape: Use dw_pcie_link_up() consistently
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bjorn Helgaas committed Jun 10, 2015
1 parent 30fb7ba commit 1200edc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pci/host/pci-layerscape.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ static void ls_pcie_host_init(struct pcie_port *pp)

dw_pcie_setup_rc(pp);

while (!ls_pcie_link_up(pp)) {
while (!dw_pcie_link_up(pp)) {
usleep_range(100, 1000);
count++;
if (count >= 200) {
Expand Down

0 comments on commit 1200edc

Please sign in to comment.