]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: imx6: Collect clock enables in imx6_pcie_clk_enable()
authorRichard Zhu <hongxing.zhu@nxp.com>
Thu, 14 Jul 2022 07:30:58 +0000 (15:30 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 1 Aug 2022 20:33:28 +0000 (15:33 -0500)
commitc31c26f5642f93cc4edadc63dd8d71fc0289d4d3
tree1ceabc29eb9a5b10a0eb1f5657083cde55663e78
parent9a92ae36293963f664f56dcb777f28f3a8e3be84
PCI: imx6: Collect clock enables in imx6_pcie_clk_enable()

Encapsulate the i.MX PCIe clock enable operations into one standalone
function, imx6_pcie_clk_enable().  No functional change intended.

[bhelgaas: split pure code moves into separate patches]
Link: https://lore.kernel.org/r/1657783869-19194-7-git-send-email-hongxing.zhu@nxp.com
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
drivers/pci/controller/dwc/pci-imx6.c