]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI: cadence: Extract link setup sequence from cdns_pcie_host_setup()
authorThomas Richard <thomas.richard@bootlin.com>
Wed, 19 Jun 2024 10:15:09 +0000 (12:15 +0200)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Tue, 3 Sep 2024 18:27:12 +0000 (18:27 +0000)
commitd1b6f2e2ce4d8b17d9f3558c98a1517b864bfd03
treea9da4c56607707ecb086aa61beca0eb7915044e2
parent82c4be4168e26a5593aaa1002b5678128a638824
PCI: cadence: Extract link setup sequence from cdns_pcie_host_setup()

The function cdns_pcie_host_setup() mixes probe structure and link setup.

The link setup must be done during the resume sequence. So extract it from
cdns_pcie_host_setup() and create a dedicated function.

Link: https://lore.kernel.org/linux-pci/20240102-j7200-pcie-s2r-v7-1-a2f9156da6c3@bootlin.com
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: Siddharth Vadapalli <s-vadapalli@ti.com>
drivers/pci/controller/cadence/pcie-cadence-host.c
drivers/pci/controller/cadence/pcie-cadence.h