diff options
author | Bjorn Andersson <[email protected]> | 2018-08-31 15:55:10 -0700 |
---|---|---|
committer | Lorenzo Pieralisi <[email protected]> | 2018-09-18 10:13:14 +0100 |
commit | 6e5da6f7d82474e94c2d4a38cf9ca4edbb3e03a0 (patch) | |
tree | 3839092f405814849f33da32c7037e69d15bba5f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0ee2c1f2429f74328c82ea559b127c96d5224ccd (diff) |
PCI: qcom: Fix error handling in runtime PM support
The driver does not cope with the fact that probe can fail in a number
of cases after enabling runtime PM on the device; this results in
warnings about "Unbalanced pm_runtime_enable". Furthermore if probe
fails after invoking qcom_pcie_host_init() the power-domain will be left
referenced.
As it is not possible for the error handling in qcom_pcie_host_init() to
handle errors happening after returning from that function the
pm_runtime_get_sync() is moved to qcom_pcie_probe() as well.
Fixes: 854b69efbdd2 ("PCI: qcom: add runtime pm support to pcie_port")
Signed-off-by: Bjorn Andersson <[email protected]>
[[email protected]: updated commit log]
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Acked-by: Stanimir Varbanov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions