]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: brcmstb: Split post-link up initialization to brcm_pcie_start_link()
authorJim Quinlan <jim2101024@gmail.com>
Mon, 25 Jul 2022 15:12:51 +0000 (11:12 -0400)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 27 Jul 2022 16:52:59 +0000 (11:52 -0500)
commit0693b4207fd73c1a23edb21fbfc0020532f53fb9
tree68af4d35d986bf73bb6039e25784a1709369aa93
parent5fb8f2628edf26c679d0079fae19b99aef82af03
PCI: brcmstb: Split post-link up initialization to brcm_pcie_start_link()

Previously brcm_pcie_setup() initialized the Root Port itself as well as
doing the actual link-up.  Split brcm_pcie_setup() into two functions:

  - brcm_pcie_setup(), which initializes everything that does not require
    the link itself to be up, and

  - brcm_pcie_start_link(), which brings up the link and initializes things
    that depend on the link being up.

[bhelgaas: condense commit log, deferring details for future changes]
Link: https://lore.kernel.org/r/20220725151258.42574-3-jim2101024@gmail.com
Signed-off-by: Jim Quinlan <jim2101024@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Tested-by: Florian Fainelli <f.fainelli@gmail.com>
drivers/pci/controller/pcie-brcmstb.c