Re: [PATCH stable-4.9] PCI: qcom: Fix unbalanced PHY init on probe errors

From: Greg KH
Date: Mon Jun 13 2022 - 05:23:44 EST


On Fri, Jun 10, 2022 at 02:04:11PM +0200, Johan Hovold wrote:
> commit 83013631f0f9961416abd812e228c8efbc2f6069 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@xxxxxxxxxx
> Fixes: 82a823833f4e ("PCI: qcom: Add Qualcomm PCIe controller driver")
> Signed-off-by: Johan Hovold <johan+linaro@xxxxxxxxxx>
> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@xxxxxxx>
> Signed-off-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxx>
> Acked-by: Stanimir Varbanov <svarbanov@xxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx # 4.5
> [ johan: adjust context to 4.9 ]
> Signed-off-by: Johan Hovold <johan+linaro@xxxxxxxxxx>
> ---
> drivers/pci/host/pcie-qcom.c | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)

All now queued up, thanks.

greg k-h