Skip to content

Commit 72fdedb

Browse files
floatiousgregkh
authored andcommitted
PCI: Rename PCIE_RESET_CONFIG_DEVICE_WAIT_MS to PCIE_RESET_CONFIG_WAIT_MS
commit 817f989 upstream. 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 Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 1d9c735 commit 72fdedb

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
@@ -57,7 +57,7 @@
5757
* completes before sending a Configuration Request to the device
5858
* immediately below that Port."
5959
*/
60-
#define PCIE_RESET_CONFIG_DEVICE_WAIT_MS 100
60+
#define PCIE_RESET_CONFIG_WAIT_MS 100
6161

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

0 commit comments

Comments
 (0)