]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI: dwc: Rename 'dw_pcie::link_gen' to 'dw_pcie::max_link_speed'
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Wed, 11 Sep 2024 15:26:26 +0000 (20:56 +0530)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Fri, 13 Sep 2024 14:44:43 +0000 (14:44 +0000)
commit2cebf68a24abb0552ea59cf928829acd51f8b175
tree7a72db868dffd68c5874b4f3bbef7d48ffe907cb
parentd3745e3ae6c0eec517d431be926742b6e8b9b64a
PCI: dwc: Rename 'dw_pcie::link_gen' to 'dw_pcie::max_link_speed'

The 'link_gen' field is now holding the maximum supported link speed set
either by the controller driver or by DT through 'max-link-speed'
property.

However, the name 'link_gen' sounds like the negotiated link speed of
the PCIe link.

So rename it to 'max_link_speed' to make it clear that it holds the
maximum supported link speed of the controller.

Link: https://lore.kernel.org/linux-pci/20240911-pci-qcom-gen4-stability-v7-1-743f5c1fd027@linaro.org
Tested-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
[kwilczynski: commit log]
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Johan Hovold <johan+linaro@kernel.org>
drivers/pci/controller/dwc/pci-imx6.c
drivers/pci/controller/dwc/pcie-designware.c
drivers/pci/controller/dwc/pcie-designware.h
drivers/pci/controller/dwc/pcie-intel-gw.c
drivers/pci/controller/dwc/pcie-rcar-gen4.c
drivers/pci/controller/dwc/pcie-spear13xx.c