Files
twx-linux/drivers
Dinghao Liu fc71303c1f media: vsp1: Fix runtime PM imbalance on error
[ Upstream commit 98fae901c8 ]

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: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.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-30 10:38:27 +01:00
..
…
…
2020-09-09 19:04:23 +02:00
2020-10-30 10:38:26 +01:00
…
…
…
…
…
…
…
2020-10-29 09:55:07 +01:00
…
…
…
2020-10-30 10:38:20 +01:00
…
…
2020-10-29 09:55:13 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
2020-10-29 09:55:05 +01:00
…
…
…
…
…
…
…
…
…