Skip to content

Commit 181a60a

Browse files
committed
Merge branch 'pci/controller/mt7621'
- Delay PHY initialization to make boots reliable for ZBT WE1326 and ZBT WF3526-P and some Netgear models (Sergio Paracuellos) * pci/controller/mt7621: PCI: mt7621: Delay phy ports initialization
2 parents a9cd360 + 0cb2a8f commit 181a60a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/pci/controller/pcie-mt7621.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
#define PCIE_PORT_LINKUP BIT(0)
6161
#define PCIE_PORT_CNT 3
6262

63+
#define INIT_PORTS_DELAY_MS 100
6364
#define PERST_DELAY_MS 100
6465

6566
/**
@@ -369,6 +370,7 @@ static int mt7621_pcie_init_ports(struct mt7621_pcie *pcie)
369370
}
370371
}
371372

373+
msleep(INIT_PORTS_DELAY_MS);
372374
mt7621_pcie_reset_ep_deassert(pcie);
373375

374376
tmp = NULL;

0 commit comments

Comments
 (0)