Skip to content

Commit 817f989

Browse files
floatiousMani-Sadhasivam
authored andcommitted
PCI: Rename PCIE_RESET_CONFIG_DEVICE_WAIT_MS to PCIE_RESET_CONFIG_WAIT_MS
Rename PCIE_RESET_CONFIG_DEVICE_WAIT_MS to PCIE_RESET_CONFIG_WAIT_MS. Suggested-by: Bjorn Helgaas <helgaas@kernel.org> Signed-off-by: Niklas Cassel <cassel@kernel.org> Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Link: https://patch.msgid.link/20250625102347.1205584-10-cassel@kernel.org
1 parent 19272b3 commit 817f989

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/pci/controller/plda/pcie-starfive.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ static int starfive_pcie_host_init(struct plda_pcie_rp *plda)
368368
* of 100ms following exit from a conventional reset before
369369
* sending a configuration request to the device.
370370
*/
371-
msleep(PCIE_RESET_CONFIG_DEVICE_WAIT_MS);
371+
msleep(PCIE_RESET_CONFIG_WAIT_MS);
372372

373373
if (starfive_pcie_host_wait_for_link(pcie))
374374
dev_info(dev, "port link down\n");

drivers/pci/pci.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ struct pcie_tlp_log;
6161
* completes before sending a Configuration Request to the device
6262
* immediately below that Port."
6363
*/
64-
#define PCIE_RESET_CONFIG_DEVICE_WAIT_MS 100
64+
#define PCIE_RESET_CONFIG_WAIT_MS 100
6565

6666
/* Message Routing (r[2:0]); PCIe r6.0, sec 2.2.8 */
6767
#define PCIE_MSG_TYPE_R_RC 0

0 commit comments

Comments
 (0)