TencentOS-kernel/drivers/media/platform/sti
Dinghao Liu 7028d5d9c5 media: bdisp: Fix runtime PM imbalance on error
[ Upstream commit dbd2f2dc025f9be8ae063e4f270099677238f620 ]

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: Fabien Dessenne <fabien.dessenne@st.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-16 16:39:14 +08:00
..
bdisp media: bdisp: Fix runtime PM imbalance on error 2021-03-16 16:39:14 +08:00
c8sectpfe Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
cec Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
delta media: st-delta: Fix reference count leak in delta_run_work 2021-03-16 16:39:12 +08:00
hva media: platform: sti: hva: Fix runtime PM imbalance on error 2021-03-16 16:39:14 +08:00