diff options
author | Dinghao Liu <dinghao.liu@zju.edu.cn> | 2020-05-21 06:13:49 +0300 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2020-05-29 13:24:31 +0300 |
commit | 1c1dbb2c02623db18a50c61b175f19aead800b4e (patch) | |
tree | 5817e6275201d6485af568f7cd0c6f5afa0b245d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 63605f1cfcc56bcb25c48bbee75a679d85ba7675 (diff) | |
download | linux-1c1dbb2c02623db18a50c61b175f19aead800b4e.tar.xz |
PCI: tegra194: Fix runtime PM imbalance on error
pm_runtime_get_sync() increments the runtime PM usage counter even
when it returns an error code. Thus a pairing decrement is needed on
the error handling path to keep the counter balanced.
Link: https://lore.kernel.org/r/20200521031355.7022-1-dinghao.liu@zju.edu.cn
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Vidya Sagar <vidyas@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions