diff options
| author | 2020-05-24 06:31:32 +0200 | |
|---|---|---|
| committer | 2020-07-04 12:26:09 +0200 | |
| commit | 831b8755fd2f60cf00cbf854c2a2eccb03f2060b (patch) | |
| tree | 3f09342d7cb320feae41bce9b20aa8e9473908ec /include/linux | |
| parent | media: venus: fix multiple encoder crash (diff) | |
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 'include/linux')
0 files changed, 0 insertions, 0 deletions
