mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 16:54:20 +08:00
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
This commit is contained in:
commit
181a60a0ee
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user