PCI: imx6: Move imx6_pcie_enable_ref_clk() earlier
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 14 Jul 2022 07:30:55 +0000 (15:30 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 1 Aug 2022 20:33:17 +0000 (15:33 -0500)
commit276509690c2e4993016d1c2e220ca1929791b812
treec91ecdf62d2b6806f373a816ed8c0a0c3ea38a6e
parent6b1e989e491088b79f2582c9c0c7925ce1d67e06
PCI: imx6: Move imx6_pcie_enable_ref_clk() earlier

Move imx6_pcie_enable_ref_clk() earlier so it's not in the middle between
imx6_pcie_assert_core_reset() and imx6_pcie_deassert_core_reset().  No
functional change intended.

Link: https://lore.kernel.org/r/1657783869-19194-4-git-send-email-hongxing.zhu@nxp.com
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Acked-by: Richard Zhu <hongxing.zhu@nxp.com>
drivers/pci/controller/dwc/pci-imx6.c