[PATCH v1] PCI: xgene: Use managed clock for PCIe controller
Manivannan Sadhasivam
manivannan.sadhasivam at oss.qualcomm.com
Thu Sep 10 01:33:39 PDT 2026
On Sun, 02 Aug 2026 18:11:46 -0400, Yuho Choi wrote:
> xgene_pcie_init_port() obtains and enables the controller clock manually.
> When xgene_pcie_setup() or pci_host_probe() fails, probe returns without
> disabling, unpreparing, or releasing the clock. A failed enable also leaves
> the clk_get() reference unreleased.
>
> Use devm_clk_get_enabled() so the clock is unwound automatically on probe
> failure and device removal.
>
> [...]
Applied, thanks!
[1/1] PCI: xgene: Use managed clock for PCIe controller
commit: b9022584ebbae81f7bbe4a61bd1df0d0a95e1a99
Best regards,
--
மணிவண்ணன் சதாசிவம்
More information about the linux-arm-kernel
mailing list