diff options
| author | Qiushi Wu <[email protected]> | 2020-06-14 00:30:08 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2020-09-27 10:51:57 +0200 |
| commit | aaffa0126a111d65f4028c503c76192d4cc93277 (patch) | |
| tree | 4ec96616a41e7789824347443353ba625ab13ce3 /tools/perf/scripts/python | |
| parent | 98fae901c8883640202802174a4bd70a1b9118bd (diff) | |
media: rcar-vin: Fix a reference count leak.
pm_runtime_get_sync() increments the runtime PM usage counter even
when it returns an error code. Thus call pm_runtime_put_noidle()
if pm_runtime_get_sync() fails.
Fixes: 90dedce9bc54 ("media: rcar-vin: add function to manipulate Gen3 chsel value")
Signed-off-by: Qiushi Wu <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions