diff options
author | Lucas Stach <dev@lynxeye.de> | 2014-11-12 21:24:37 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-11-17 08:35:58 +0100 |
commit | 16018ed7fece428c3c5f1a5bacb74c1863911289 (patch) | |
tree | 1fe0e643336bb2f950d85b92e2e33efd3dfd539a /drivers | |
parent | 81e3bac87768495ccb6697e6c7b7a514f7f35007 (diff) | |
download | barebox-16018ed7fece428c3c5f1a5bacb74c1863911289.tar.gz barebox-16018ed7fece428c3c5f1a5bacb74c1863911289.tar.xz |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pci/pci-tegra.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |