1
0
Fork 0
alistair23-linux/drivers/media/platform/sti
Dinghao Liu ad3825eedb media: bdisp: Fix runtime PM imbalance on error
[ Upstream commit dbd2f2dc02 ]

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>
2020-10-29 09:58:02 +01:00
..
bdisp media: bdisp: Fix runtime PM imbalance on error 2020-10-29 09:58:02 +01:00
c8sectpfe media: Remove dev_err() usage after platform_get_irq() 2019-08-07 17:08:33 -03:00
cec media: stih-cec: use cec_notifier_cec_adap_(un)register 2019-07-23 08:40:00 -04:00
delta media: st-delta: Fix reference count leak in delta_run_work 2020-10-29 09:58:01 +01:00
hva media: platform: sti: hva: Fix runtime PM imbalance on error 2020-10-29 09:58:02 +01:00