diff options
| author | Dinghao Liu <dinghao.liu@zju.edu.cn> | 2020-05-21 08:27:45 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-06-23 13:18:10 +0200 |
| commit | 7dcfb327f8fd7418124fc6d63bdce91b5844f50a (patch) | |
| tree | 5e077dd42203f6660ea4968f950437d466831e51 /scripts/patch-kernel | |
| parent | 0c8bc934ee304e43daa04492bced568dd0bde594 (diff) | |
| download | cachepc-linux-7dcfb327f8fd7418124fc6d63bdce91b5844f50a.tar.gz cachepc-linux-7dcfb327f8fd7418124fc6d63bdce91b5844f50a.zip | |
media: staging: tegra-vde: fix runtime pm imbalance on error
pm_runtime_get_sync() increments the runtime PM usage counter even
the call 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: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
