diff options
| author | Navid Emamdoost <[email protected]> | 2020-06-05 03:06:43 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-06-05 03:14:50 +0000 |
| commit | eea1238867205b9e48a67c1a63219529a73c46fd (patch) | |
| tree | 910173c7c1fad903159241f9bae822a22a712930 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | atomisp: avoid warning about unused function (diff) | |
| download | kernel-eea1238867205b9e48a67c1a63219529a73c46fd.tar.gz kernel-eea1238867205b9e48a67c1a63219529a73c46fd.zip | |
sata_rcar: handle pm_runtime_get_sync failure cases
Calling pm_runtime_get_sync increments the counter even in case of
failure, causing incorrect ref count. Call pm_runtime_put if
pm_runtime_get_sync fails.
Signed-off-by: Navid Emamdoost <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
