Messages in this thread | | | From | Stephen Boyd <> | Date | Wed, 10 Nov 2021 07:15:49 +0000 | Subject | Re: [PATCH] PCI: qcom: Fix an error handling path in 'qcom_pcie_probe()' |
| |
Quoting Christophe JAILLET (2021-11-06 10:44:52) > 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. > > Fixes: b89ff410253d ("PCI: qcom: Replace ops with struct pcie_cfg in pcie match data") > Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> > ---
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
| |