pci: pcie_dw_rockchip: Use dw_pcie_link_set_max_link_width()
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Tue, 17 Jun 2025 08:16:30 +0000 (10:16 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 27 Jun 2025 14:25:56 +0000 (08:25 -0600)
commit17b5e8acfc93fd21371b694cc9e9951464d49d72
tree4816d246fcc0e331c95901a4cb4191a884054ea8
parent579ac25b175ae1c7dc46057022fff7e877b3e5b7
pci: pcie_dw_rockchip: Use dw_pcie_link_set_max_link_width()

Use dw_pcie_link_set_max_link_width() instead of local implementation
of the same functionality. This does change the behavior slightly, as
the dw_pcie_link_set_max_link_width() implementation also programs the
LNKCAP register MLW, this should however be correct and is now aligned
with Linux kernel behavior.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
drivers/pci/pcie_dw_rockchip.c