aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2021-11-06 18:44:52 +0100
committerLorenzo Pieralisi <[email protected]>2021-11-29 13:24:24 +0000
commit4e0e90539bb0e6c0ca3768c642df9eed2118a8bb (patch)
treee0092aef7755aa1fa1caf0fd3786be831337101f /tools/perf/scripts/python/export-to-sqlite.py
parentfa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf (diff)
PCI: qcom: Fix an error handling path in 'qcom_pcie_probe()'
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. Link: https://lore.kernel.org/r/4d03c636193f64907c8dacb17fa71ed05fd5f60c.1636220582.git.christophe.jaillet@wanadoo.fr Fixes: b89ff410253d ("PCI: qcom: Replace ops with struct pcie_cfg in pcie match data") Signed-off-by: Christophe JAILLET <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Reviewed-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions