diff options
| author | Dinghao Liu <[email protected]> | 2020-05-21 12:00:21 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2020-09-27 10:50:16 +0200 |
| commit | dbd2f2dc025f9be8ae063e4f270099677238f620 (patch) | |
| tree | 8fe54299475d6d7dbde8ea71a8a8f6841087f7a0 /tools/perf/scripts/python/bin | |
| parent | e88349437654f9d1b3c144049b9990026f911e56 (diff) | |
media: bdisp: Fix runtime PM imbalance on error
pm_runtime_get_sync() increments the runtime PM usage counter even
when it returns an error code. Thus a pairing decrement is needed on
the error handling path to keep the counter balanced.
Signed-off-by: Dinghao Liu <[email protected]>
Reviewed-by: Fabien Dessenne <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions