diff options
| author | Mauro Carvalho Chehab <[email protected]> | 2021-04-23 17:19:18 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-05-19 09:51:42 +0200 |
| commit | 09dfb36ce250e76322ac8940c10d75e53a9e48d4 (patch) | |
| tree | 2dcfa851681e8d995d87dca8c9c8e17d20fcc0a0 /tools/perf/scripts/python/flamegraph.py | |
| parent | 97df01fae800ff765dbb247ee30c7a438b2ae07b (diff) | |
media: camss: 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: Robert Foss <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions