WSL2-Linux-Kernel/drivers/pci
Johan Hovold a7daaaa845 PCI: qcom: Fix unbalanced PHY init on probe errors
commit 83013631f0 upstream.

Undo the PHY initialisation (e.g. balance runtime PM) if host
initialisation fails during probe.

Link: https://lore.kernel.org/r/20220401133854.10421-3-johan+linaro@kernel.org
Fixes: 82a823833f ("PCI: qcom: Add Qualcomm PCIe controller driver")
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: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Acked-by: Stanimir Varbanov <svarbanov@mm-sol.com>
Cc: stable@vger.kernel.org      # 4.5
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-06-09 10:23:21 +02:00
..
controller PCI: qcom: Fix unbalanced PHY init on probe errors 2022-06-09 10:23:21 +02:00
endpoint PCI: endpoint: Fix misused goto label 2022-04-13 20:59:08 +02:00
hotplug PCI: pciehp: Add Qualcomm quirk for Command Completed erratum 2022-04-13 20:59:04 +02:00
pcie PCI/AER: Clear MULTI_ERR_COR/UNCOR_RCV bits 2022-06-09 10:23:11 +02:00
switch
Kconfig
Makefile
access.c PCI: Reduce warnings on possible RW1C corruption 2022-04-08 14:23:37 +02:00
ats.c
bus.c
ecam.c
host-bridge.c
iov.c
irq.c
mmap.c
msi.c
of.c
p2pdma.c
pci-acpi.c PCI/ACPI: Allow D3 only if Root Port can signal and wake from D3 2022-06-09 10:23:04 +02:00
pci-bridge-emul.c PCI: pci-bridge-emul: Add definitions for missing capabilities registers 2022-05-12 12:30:27 +02:00
pci-bridge-emul.h
pci-driver.c
pci-label.c
pci-mid.c
pci-pf-stub.c
pci-stub.c
pci-sysfs.c
pci.c PCI/PM: Fix bridge_d3_blacklist[] Elo i2 overwrite of Gigabyte X299 2022-06-09 10:23:21 +02:00
pci.h
probe.c
proc.c
quirks.c PCI: Avoid broken MSI on SB600 USB devices 2022-04-08 14:23:42 +02:00
remove.c
rom.c
search.c
setup-bus.c
setup-irq.c
setup-res.c
slot.c
syscall.c
vc.c
vpd.c
xen-pcifront.c