Skip to contentSkip to conversation

pcie_imx: increment timeout for link up

PATCH New Stefano Babic 1 participant 1 message Jun 6, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pcie_imx: increment timeout for link up

On some boards, the current 20ms timeout
is hit. Increase it to 40mS.

---
 drivers/pci/pcie_imx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/pcie_imx.c +1 -1
index c14bb0a..732d59d 100644
@@ -595,7 +595,7 @@ static int imx_pcie_link_up(void)
 	while (!imx6_pcie_link_up()) {
 		udelay(10);
 		count++;
-		if (count >= 2000) {
+		if (count >= 4000) {
 #ifdef CONFIG_PCI_SCAN_SHOW
 			puts("PCI:   pcie phy link never came up\n");
 #endif
Signature · 1 line
1.9.1