diff options
author | 2023-02-22 13:47:29 -0600 | |
---|---|---|
committer | 2023-02-22 13:47:29 -0600 | |
commit | 181a60a0ee881d54f3e100efff842c4d076f7419 (patch) | |
tree | 8579248f4b4bbb239ac370db1aa2ee0decd2ccdb | |
parent | Merge branch 'pci/controller/imx6' (diff) | |
parent | PCI: mt7621: Delay phy ports initialization (diff) | |
download | wireguard-linux-181a60a0ee881d54f3e100efff842c4d076f7419.tar.xz wireguard-linux-181a60a0ee881d54f3e100efff842c4d076f7419.zip |
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
-rw-r--r-- | drivers/pci/controller/pcie-mt7621.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pci/controller/pcie-mt7621.c b/drivers/pci/controller/pcie-mt7621.c index ee7aad09d627..63a5f4463a9f 100644 --- a/drivers/pci/controller/pcie-mt7621.c +++ b/drivers/pci/controller/pcie-mt7621.c @@ -60,6 +60,7 @@ #define PCIE_PORT_LINKUP BIT(0) #define PCIE_PORT_CNT 3 +#define INIT_PORTS_DELAY_MS 100 #define PERST_DELAY_MS 100 /** @@ -369,6 +370,7 @@ static int mt7621_pcie_init_ports(struct mt7621_pcie *pcie) } } + msleep(INIT_PORTS_DELAY_MS); mt7621_pcie_reset_ep_deassert(pcie); tmp = NULL; |