diff options
| author | Dinghao Liu <dinghao.liu@zju.edu.cn> | 2020-06-08 07:29:19 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 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 <dinghao.liu@zju.edu.cn>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
