Skip to content

Commit e8e7c1e

Browse files
ffainelliMani-Sadhasivam
authored andcommitted
PCI: brcmstb: Replace open coded value with PCIE_T_RRS_READY_MS
The delay that we are waiting on in brcm_pcie_start_link() is PCIE_T_RRS_READY_MS, use it. Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com> [mani: Removed the redundant comment] Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Link: https://patch.msgid.link/20250624231923.990361-3-florian.fainelli@broadcom.com
1 parent fde41f2 commit e8e7c1e

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

drivers/pci/controller/pcie-brcmstb.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1358,11 +1358,7 @@ static int brcm_pcie_start_link(struct brcm_pcie *pcie)
13581358
if (ret)
13591359
return ret;
13601360

1361-
/*
1362-
* Wait for 100ms after PERST# deassertion; see PCIe CEM specification
1363-
* sections 2.2, PCIe r5.0, 6.6.1.
1364-
*/
1365-
msleep(100);
1361+
msleep(PCIE_T_RRS_READY_MS);
13661362

13671363
/*
13681364
* Give the RC/EP even more time to wake up, before trying to

0 commit comments

Comments
 (0)