diff options
| author | Dinghao Liu <[email protected]> | 2020-05-28 07:21:04 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2020-06-15 07:38:53 +0000 |
| commit | 95459261c99f1621d90bc628c2a48e60b7cf9a88 (patch) | |
| tree | 4c26bef401b33a653e71b69251a8a67ab741c057 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | Linux 5.8-rc1 (diff) | |
| download | kernel-95459261c99f1621d90bc628c2a48e60b7cf9a88.tar.gz kernel-95459261c99f1621d90bc628c2a48e60b7cf9a88.zip | |
hwrng: ks-sa - 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 <[email protected]>
Reviewed-by: Alexander Sverdlin <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
