diff options
author | 2020-05-27 10:46:22 +0800 | |
---|---|---|
committer | 2020-05-27 14:48:54 +0100 | |
commit | 920bef64cc5fa0e955be357bfc876179729df216 (patch) | |
tree | 3ca8d61b53715a1274f6da4c47c237036f29c879 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ASoC: img-spdif-in: Fix runtime PM imbalance on error (diff) | |
download | wireguard-linux-920bef64cc5fa0e955be357bfc876179729df216.tar.xz wireguard-linux-920bef64cc5fa0e955be357bfc876179729df216.zip |
ASoC: wm8962: Fix runtime PM imbalance on error
pm_runtime_get_sync() increments the runtime PM usage counter even
the call returns an error code. Thus a pairing decrement is needed
on the error handling path to keep the counter balanced.
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20200527024625.9937-1-dinghao.liu@zju.edu.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions