aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <[email protected]>2021-04-23 17:19:10 +0200
committerMauro Carvalho Chehab <[email protected]>2021-05-10 11:36:34 +0200
commitbaa450f08d691a40fcc29ba8ce40e02613736ac7 (patch)
tree79d123476251fd8390e2392da443e715be8586f8 /tools/perf/scripts/python
parent10343de268d10cf07b092b8b525e12ad558ead77 (diff)
media: sti/delta: use pm_runtime_resume_and_get()
Commit dd8088d5a896 ("PM: runtime: Add pm_runtime_resume_and_get to deal with usage counter") added pm_runtime_resume_and_get() in order to automatically handle dev->power.usage_count decrement on errors. Use the new API, in order to cleanup the error check logic. Reviewed-by: Jonathan Cameron <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions