OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30fb7ba
)
PCI: layerscape: Use dw_pcie_link_up() consistently
author
Bjorn Helgaas
<bhelgaas@google.com>
Tue, 2 Jun 2015 21:27:56 +0000
(16:27 -0500)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Wed, 10 Jun 2015 18:52:36 +0000
(13:52 -0500)
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>
drivers/pci/host/pci-layerscape.c
patch
|
blob
|
history
diff --git
a/drivers/pci/host/pci-layerscape.c
b/drivers/pci/host/pci-layerscape.c
index
4a6e62f
..
bb5894f
100644
(file)
--- 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)
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) {