]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
PCI: Rename PCIE_RESET_CONFIG_DEVICE_WAIT_MS to PCIE_RESET_CONFIG_WAIT_MS
authorNiklas Cassel <cassel@kernel.org>
Wed, 25 Jun 2025 10:23:47 +0000 (12:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Aug 2025 14:39:01 +0000 (16:39 +0200)
[ Upstream commit 817f989700fddefa56e5e443e7d138018ca6709d ]

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
Stable-dep-of: c7eb9c5e1498 ("PCI: dw-rockchip: Wait PCIE_RESET_CONFIG_WAIT_MS after link-up IRQ")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pci/controller/plda/pcie-starfive.c
drivers/pci/pci.h

index e73c1b7bc8efc42745598ac9c1468480a9d44d7f..3caf53c6c082386dbd51c41572f9ee407e5c4f6f 100644 (file)
@@ -368,7 +368,7 @@ static int starfive_pcie_host_init(struct plda_pcie_rp *plda)
         * of 100ms following exit from a conventional reset before
         * sending a configuration request to the device.
         */
-       msleep(PCIE_RESET_CONFIG_DEVICE_WAIT_MS);
+       msleep(PCIE_RESET_CONFIG_WAIT_MS);
 
        if (starfive_pcie_host_wait_for_link(pcie))
                dev_info(dev, "port link down\n");
index 12215ee72afb682b669c0e3a582b5379828e70c4..98d6fccb383e55d8e86deb39c148993da1b8267f 100644 (file)
@@ -61,7 +61,7 @@ struct pcie_tlp_log;
  *    completes before sending a Configuration Request to the device
  *    immediately below that Port."
  */
-#define PCIE_RESET_CONFIG_DEVICE_WAIT_MS       100
+#define PCIE_RESET_CONFIG_WAIT_MS      100
 
 /* Message Routing (r[2:0]); PCIe r6.0, sec 2.2.8 */
 #define PCIE_MSG_TYPE_R_RC     0