Skip to content

Commit ec49e25

Browse files
floatiousbjorn-helgaas
authored andcommitted
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 <cassel@kernel.org> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Wilfred Mallawa <wilfred.mallawa@wdc.com> Reviewed-by: Hans Zhang <18255117159@163.com> Reviewed-by: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com> Link: https://patch.msgid.link/20250506073934.433176-10-cassel@kernel.org
1 parent d34719d commit ec49e25

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/pci/controller/dwc/pcie-qcom.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ static void qcom_ep_reset_assert(struct qcom_pcie *pcie)
289289
static void qcom_ep_reset_deassert(struct qcom_pcie *pcie)
290290
{
291291
/* Ensure that PERST has been asserted for at least 100 ms */
292-
msleep(100);
292+
msleep(PCIE_T_PVPERL_MS);
293293
gpiod_set_value_cansleep(pcie->reset, 0);
294294
usleep_range(PERST_DELAY_US, PERST_DELAY_US + 500);
295295
}

0 commit comments

Comments
 (0)