diff options
author | Claudiu Beznea <[email protected]> | 2024-08-20 13:19:10 +0300 |
---|---|---|
committer | Andi Shyti <[email protected]> | 2024-09-10 00:34:00 +0200 |
commit | 3149a9cf36cf17411e8564e22ec698b5aa2175c5 (patch) | |
tree | 75ef8f5936469585e1a60316991b25039df7bb33 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | a1ecb041589017ce4e03d92f3b9a92a2a8a37ceb (diff) |
i2c: riic: Use pm_runtime_resume_and_get()
pm_runtime_get_sync() may return with error. In case it returns with error
dev->power.usage_count needs to be decremented. pm_runtime_resume_and_get()
takes care of this. Thus use it.
Reviewed-by: Wolfram Sang <[email protected]>
Signed-off-by: Claudiu Beznea <[email protected]>
Signed-off-by: Andi Shyti <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions