]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: imx6: Do not hide PHY driver callbacks and refine the error handling
authorRichard Zhu <hongxing.zhu@nxp.com>
Thu, 14 Jul 2022 07:31:06 +0000 (15:31 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 1 Aug 2022 20:33:58 +0000 (15:33 -0500)
commit19a4c3c6b9a522f168bd8a18d4988fb7ed6aa25e
tree4615d3fc84a26339c30176277c4c53a0d59f9dcd
parent45ddca9174f37e6b4ba041d424dcddfc326a36db
PCI: imx6: Do not hide PHY driver callbacks and refine the error handling

Move the phy_power_on() to host_init from imx6_pcie_clk_enable().

Move the phy_init() to host_init from imx6_pcie_deassert_core_reset().

Refine the error handling in imx6_pcie_host_init() accordingly.

Link: https://lore.kernel.org/r/1657783869-19194-15-git-send-email-hongxing.zhu@nxp.com
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/controller/dwc/pci-imx6.c