PCI: qcom: Power on PHY before DBI register accesses
authorRobert Marko <robimarko@gmail.com>
Thu, 23 Jun 2022 15:50:04 +0000 (17:50 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 13 Jul 2022 19:54:40 +0000 (14:54 -0500)
commit36d9018d557c1f8f9cf79b5453da30181be07450
treef55b95329c9f7b1eeaf7adcd67dbf33832884e13
parenta0e43bb9973b06ce5c666f0901e104e2037c1b34
PCI: qcom: Power on PHY before DBI register accesses

IPQ8074 requires the PHY to be powered on before accessing DBI registers.
It's not clear whether other variants have the same dependency, but there
seems to be no reason for them to be different, so move all the DBI
accesses from .init() to .post_init() so they are all after phy_power_on().

[bhelgaas: commit log]
Link: https://lore.kernel.org/r/20220623155004.688090-2-robimarko@gmail.com
Signed-off-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/controller/dwc/pcie-qcom.c