PCI: imx6: Factor out ref clock disable to match enable
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 14 Jul 2022 07:30:57 +0000 (15:30 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 1 Aug 2022 20:33:24 +0000 (15:33 -0500)
commitd0a75c791f981546618c917293bc20094a923410
tree723ea21a5baa5f06415b336d5dd96567207afb43
parent34b1b9022586bf909ad0c7213d8669902150fc2a
PCI: imx6: Factor out ref clock disable to match enable

The PCIe ref clocks are specific to different variants.  The enables are
already split out into imx6_pcie_enable_ref_clk(), but the disables were
combined with the more generic bus/phy/pcie clock disables in
imx6_pcie_clk_disable().

Split out the variant-specific disables into imx6_pcie_disable_ref_clk() to
match imx6_pcie_enable_ref_clk().

No functional change intended.

Link: https://lore.kernel.org/r/1657783869-19194-6-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