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 <[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]
1 parent d34719d commit ec49e25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)