From 16018ed7fece428c3c5f1a5bacb74c1863911289 Mon Sep 17 00:00:00 2001 From: Lucas Stach Date: Wed, 12 Nov 2014 21:24:37 +0100 Subject: 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 Signed-off-by: Sascha Hauer --- drivers/pci/pci-tegra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/pci-tegra.c b/drivers/pci/pci-tegra.c index f2ade7749d..1ff3c0d150 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) { -- cgit v1.2.3