diff options
author | 2020-05-20 18:47:48 +0800 | |
---|---|---|
committer | 2020-05-22 11:13:53 +1000 | |
commit | dc455f4c888365595c0a13da445e092422d55b8d (patch) | |
tree | 0aedde06de4e372ed61a8226190d44b8bd3fbe4e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/nouveau: fix runtime pm imbalance on error (diff) | |
download | linux-dev-dc455f4c888365595c0a13da445e092422d55b8d.tar.xz linux-dev-dc455f4c888365595c0a13da445e092422d55b8d.zip |
drm/nouveau/dispnv50: 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>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions