diff options
| author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2020-09-18 11:23:39 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-12-03 12:27:32 +0100 |
| commit | fd5cfde331f86e7712a037e68e9e66b29eaea9fa (patch) | |
| tree | 5f976475243cd327d219ef2fb895f8096edeae76 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | media: ccs: Use static data read-only registers (diff) | |
| download | linux-fd5cfde331f86e7712a037e68e9e66b29eaea9fa.tar.gz linux-fd5cfde331f86e7712a037e68e9e66b29eaea9fa.zip | |
media: ccs: Clean up runtime PM usage
If pm_runtime_get_sync() fails, there's no need to set the device active
again. Also, in the same case to return the usage_count to zero,
pm_runtime_put_noidle() is enough.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
