Skip to content

Commit

Permalink
pcie_imx: increment timeout for link up
Browse files Browse the repository at this point in the history
On some boards, the current 20ms timeout
is hit. Increase it to 40mS.

Signed-off-by: Stefano Babic <[email protected]>
  • Loading branch information
sbabic committed Jul 12, 2016
1 parent c133c50 commit a32b4a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pci/pcie_imx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a32b4a0

Please sign in to comment.