aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/pcie-brcmstb.c
diff options
context:
space:
mode:
authorFlorian Fainelli <[email protected]>2025-06-24 23:19:23 +0000
committerManivannan Sadhasivam <[email protected]>2025-07-17 12:46:25 +0000
commite8e7c1e95d6d4ccdc53654a5966d2183532ab115 (patch)
tree11c5ad341ca6a74c07627f609585abd395e291e2 /drivers/pci/controller/pcie-brcmstb.c
parentMAINTAINERS: Drop Nicolas from maintaining pcie-brcmstb (diff)
downloadkernel-e8e7c1e95d6d4ccdc53654a5966d2183532ab115.tar.gz
kernel-e8e7c1e95d6d4ccdc53654a5966d2183532ab115.zip
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 <[email protected]> [mani: Removed the redundant comment] Signed-off-by: Manivannan Sadhasivam <[email protected]> Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'drivers/pci/controller/pcie-brcmstb.c')
-rw-r--r--drivers/pci/controller/pcie-brcmstb.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/pci/controller/pcie-brcmstb.c b/drivers/pci/controller/pcie-brcmstb.c
index 744df5bd39ae..db7402bb6291 100644
--- a/drivers/pci/controller/pcie-brcmstb.c
+++ b/drivers/pci/controller/pcie-brcmstb.c
@@ -1358,11 +1358,7 @@ static int brcm_pcie_start_link(struct brcm_pcie *pcie)
if (ret)
return ret;
- /*
- * Wait for 100ms after PERST# deassertion; see PCIe CEM specification
- * sections 2.2, PCIe r5.0, 6.6.1.
- */
- msleep(100);
+ msleep(PCIE_T_RRS_READY_MS);
/*
* Give the RC/EP even more time to wake up, before trying to