aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc
diff options
context:
space:
mode:
authorNiklas Cassel <[email protected]>2025-05-06 07:39:39 +0000
committerBjorn Helgaas <[email protected]>2025-05-30 21:56:56 +0000
commitec49e253322bf29e721c6153d9e7be95eef33b33 (patch)
tree6582cccbbb31105e9efa13ce049ea51f977ca5c0 /drivers/pci/controller/dwc
parentPCI: dw-rockchip: Replace PERST# sleep time with proper macro (diff)
downloadkernel-ec49e253322bf29e721c6153d9e7be95eef33b33.tar.gz
kernel-ec49e253322bf29e721c6153d9e7be95eef33b33.zip
PCI: qcom: Replace PERST# sleep time with proper macro
Replace the PERST# sleep time with the proper macro (PCIE_T_PVPERL_MS). No functional change. Signed-off-by: Niklas Cassel <[email protected]> Signed-off-by: Manivannan Sadhasivam <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Wilfred Mallawa <[email protected]> Reviewed-by: Hans Zhang <[email protected]> Reviewed-by: Krishna Chaitanya Chundru <[email protected]> Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'drivers/pci/controller/dwc')
-rw-r--r--drivers/pci/controller/dwc/pcie-qcom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/dwc/pcie-qcom.c b/drivers/pci/controller/dwc/pcie-qcom.c
index ba0dd1717a58..a623ed0fbc2f 100644
--- a/drivers/pci/controller/dwc/pcie-qcom.c
+++ b/drivers/pci/controller/dwc/pcie-qcom.c
@@ -289,7 +289,7 @@ static void qcom_ep_reset_assert(struct qcom_pcie *pcie)
static void qcom_ep_reset_deassert(struct qcom_pcie *pcie)
{
/* Ensure that PERST has been asserted for at least 100 ms */
- msleep(100);
+ msleep(PCIE_T_PVPERL_MS);
gpiod_set_value_cansleep(pcie->reset, 0);
usleep_range(PERST_DELAY_US, PERST_DELAY_US + 500);
}