diff options
| author | Dinghao Liu <[email protected]> | 2020-06-08 07:29:19 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2020-09-27 10:51:38 +0200 |
| commit | 98fae901c8883640202802174a4bd70a1b9118bd (patch) | |
| tree | bf6e2f3fda676fb56b646fc2c9f20d861513b247 /tools/perf/scripts/python | |
| parent | b4630215067a411341ceeb7850b95b341eee6511 (diff) | |
media: vsp1: 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: Kieran Bingham <[email protected]>
Reviewed-by: Laurent Pinchart <[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