diff options
| author | Dinghao Liu <dinghao.liu@zju.edu.cn> | 2020-05-24 06:31:32 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-07-04 12:26:09 +0200 |
| commit | 831b8755fd2f60cf00cbf854c2a2eccb03f2060b (patch) | |
| tree | 3f09342d7cb320feae41bce9b20aa8e9473908ec /tools/perf/scripts/python/netdev-times.py | |
| parent | e0eb34810113dbbf1ace57440cf48d514312a373 (diff) | |
| download | linux-831b8755fd2f60cf00cbf854c2a2eccb03f2060b.tar.gz linux-831b8755fd2f60cf00cbf854c2a2eccb03f2060b.zip | |
media: venus: venc: Fix runtime PM imbalance in venc_open
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>
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
