linux/drivers/media/platform/rcar-vin
Qiushi Wu aa60f4ad07 media: rcar-vin: Fix a reference count leak.
[ Upstream commit aaffa0126a ]

pm_runtime_get_sync() increments the runtime PM usage counter even
when it returns an error code. Thus call pm_runtime_put_noidle()
if pm_runtime_get_sync() fails.

Fixes: 90dedce9bc ("media: rcar-vin: add function to manipulate Gen3 chsel value")
Signed-off-by: Qiushi Wu <wu000273@umn.edu>
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:57:33 +01:00
..
Kconfig
Makefile
rcar-core.c
rcar-csi2.c media: rcar-csi2: Allocate v4l2_async_subdev dynamically 2020-10-29 09:57:32 +01:00
rcar-dma.c media: rcar-vin: Fix a reference count leak. 2020-10-29 09:57:33 +01:00
rcar-v4l2.c media: rcar-vin: Fix incorrect return statement in rvin_try_format() 2020-01-17 19:48:56 +01:00
rcar-vin.h