]> Gentwo Git Trees - linux/.git/commit
PCI: tegra194: Rename 'root_bus' to 'root_port_bus' in tegra_pcie_downstream_dev_to_D0()
authorManivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
Mon, 22 Sep 2025 08:10:57 +0000 (13:40 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 25 Sep 2025 23:03:27 +0000 (18:03 -0500)
commite1bd928479fb1fa60e9034b0fdb1ab9f3fa92f33
tree338b4a1b09f7453dfd5c287ada3e056bf94ef705
parent26fda92d3b56bf44a02bcb4001c5a5548e0ae8ee
PCI: tegra194: Rename 'root_bus' to 'root_port_bus' in tegra_pcie_downstream_dev_to_D0()

In tegra_pcie_downstream_dev_to_D0(), PCI devices are transitioned to D0
state. For iterating over the devices, first the downstream bus of the Root
Port is searched from the root bus. But the name of the variable that holds
the Root Port downstream bus is named as 'root_bus', which is wrong.

Rename the variable to 'root_port_bus'. Also, move the comment on 'bringing
the devices to D0' to where the state is set exactly.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20250922081057.15209-1-mani@kernel.org
drivers/pci/controller/dwc/pcie-tegra194.c