summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Stach <dev@lynxeye.de>2014-11-12 21:24:37 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-11-17 08:35:58 +0100
commit16018ed7fece428c3c5f1a5bacb74c1863911289 (patch)
tree1fe0e643336bb2f950d85b92e2e33efd3dfd539a
parent81e3bac87768495ccb6697e6c7b7a514f7f35007 (diff)
downloadbarebox-16018ed7fece428c3c5f1a5bacb74c1863911289.tar.gz
pci: tegra: relax link-up timeout
Some devices need a considerable amount of time from reset deassertion until they are ready to establish a link. Relaxing the link-up timeout helps to detect them more reliable. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--drivers/pci/pci-tegra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci-tegra.c b/drivers/pci/pci-tegra.c
index f2ade77..1ff3c0d 100644
--- a/drivers/pci/pci-tegra.c
+++ b/drivers/pci/pci-tegra.c
@@ -1145,7 +1145,7 @@ static bool tegra_pcie_port_check_link(struct tegra_pcie_port *port)
writel(value, port->base + RP_PRIV_MISC);
do {
- timeout = wait_on_timeout(50 * MSECOND,
+ timeout = wait_on_timeout(150 * MSECOND,
readl(port->regs.start + RP_VEND_XP) & RP_VEND_XP_DL_UP);
if (timeout) {