WSL2-Linux-Kernel/drivers/pci/controller/dwc
Johan Hovold 9e4810b4e1 PCI: qcom: Fix pipe clock imbalance
commit fdf6a2f533 upstream.

Fix a clock imbalance introduced by ed8cc3b1fc ("PCI: qcom: Add support
for SDM845 PCIe controller"), which enables the pipe clock both in init()
and in post_init() but only disables in post_deinit().

Note that the pipe clock was also never disabled in the init() error
paths and that enabling the clock before powering up the PHY looks
questionable.

Link: https://lore.kernel.org/r/20220401133351.10113-1-johan+linaro@kernel.org
Fixes: ed8cc3b1fc ("PCI: qcom: Add support for SDM845 PCIe controller")
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: stable@vger.kernel.org      # 5.6
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-06-14 18:36:28 +02:00
..
Kconfig Merge branch 'remotes/lorenzo/pci/keembay' 2021-09-02 14:56:48 -05:00
Makefile Merge branch 'remotes/lorenzo/pci/keembay' 2021-09-02 14:56:48 -05:00
pci-dra7xx.c PCI: Bulk conversion to generic_handle_domain_irq() 2021-08-02 11:53:05 -05:00
pci-exynos.c PCI: dwc: exynos: Rework the driver to support Exynos5433 variant 2020-12-01 10:22:30 +00:00
pci-imx6.c PCI: imx6: Fix PERST# start-up sequence 2022-06-09 10:23:10 +02:00
pci-keystone.c PCI: Bulk conversion to generic_handle_domain_irq() 2021-08-02 11:53:05 -05:00
pci-layerscape-ep.c PCI: layerscape: Correct syntax by changing comma to semicolon 2021-03-22 17:24:19 +00:00
pci-layerscape.c PCI: layerscape: Convert to builtin_platform_driver() 2021-02-24 11:08:48 -06:00
pci-meson.c PCI: dwc: Remove unnecessary wrappers around dw_pcie_host_init() 2020-11-19 10:51:41 +00:00
pcie-al.c PCI: al: Remove useless dw_pcie_ops 2021-02-24 11:09:50 -06:00
pcie-armada8k.c PCI: dwc: Move dw_pcie_setup_rc() to DWC common code 2020-11-19 10:51:41 +00:00
pcie-artpec6.c PCI: artpec6: Remove local code block from switch statement 2021-08-31 14:54:33 -05:00
pcie-designware-ep.c PCI: endpoint: Add virtual function number in pci_epc ops 2021-08-19 14:13:28 +01:00
pcie-designware-host.c PCI: dwc: Fix setting error return on MSI DMA mapping failure 2022-06-09 10:23:05 +02:00
pcie-designware-plat.c PCI: dwc: Remove surplus break statement after return 2021-08-31 14:56:43 -05:00
pcie-designware.c PCI: dwc: Do not remap invalid res 2022-03-08 19:12:34 +01:00
pcie-designware.h PCI: dwc: Move iATU detection earlier 2021-04-29 17:05:59 +01:00
pcie-dw-rockchip.c PCI: rockchip-dwc: Add Rockchip RK356X host controller driver 2021-08-31 14:58:20 -05:00
pcie-fu740.c PCI: fu740: Force 2.5GT/s for initial device probe 2022-04-08 14:22:57 +02:00
pcie-hisi.c PCI: Unify ECAM constants in native PCI Express drivers 2020-12-10 14:55:49 -06:00
pcie-histb.c PCI: dwc: Move dw_pcie_setup_rc() to DWC common code 2020-11-19 10:51:41 +00:00
pcie-intel-gw.c PCI: intel-gw: Fix INTx enable 2021-06-24 14:44:13 -05:00
pcie-keembay.c PCI: keembay: Add support for Intel Keem Bay 2021-08-20 13:47:05 +01:00
pcie-kirin.c PCI: dwc: Remove unnecessary wrappers around dw_pcie_host_init() 2020-11-19 10:51:41 +00:00
pcie-qcom.c PCI: qcom: Fix pipe clock imbalance 2022-06-14 18:36:28 +02:00
pcie-spear13xx.c PCI: dwc: Move dw_pcie_setup_rc() to DWC common code 2020-11-19 10:51:41 +00:00
pcie-tegra194-acpi.c PCI: tegra194: Fix MCFG quirk build regressions 2021-06-18 10:32:34 -05:00
pcie-tegra194.c PCI: tegra194: Cleanup unused code 2021-08-04 12:28:17 +01:00
pcie-uniphier-ep.c PCI: dwc: Move "dbi", "dbi2", and "addr_space" resource setup into common code 2020-11-19 10:51:40 +00:00
pcie-uniphier.c PCI: uniphier: Serialize INTx masking/unmasking and fix the bit operation 2021-11-18 19:17:01 +01:00
pcie-visconti.c PCI: visconti: Add Toshiba Visconti PCIe host controller driver 2021-08-31 14:52:05 -05:00