Re: [PATCH] PCI: qcom: Fix an error handling path in 'qcom_pcie_probe()'

From: Lorenzo Pieralisi
Date: Mon Nov 29 2021 - 08:33:28 EST


On Sat, 6 Nov 2021 18:44:52 +0100, Christophe JAILLET wrote:
> If 'of_device_get_match_data()' fails, previous 'pm_runtime_get_sync()/
> pm_runtime_enable()' should be undone.
>
> To fix it, the easiest is to move this block of code before the memory
> allocations and the pm_runtime_xxx calls.
>
>
> [...]

Applied to pci/qcom, thanks!

[1/1] PCI: qcom: Fix an error handling path in 'qcom_pcie_probe()'
https://git.kernel.org/lpieralisi/pci/c/4e0e90539b

Thanks,
Lorenzo