linux/drivers/media/platform/rcar-vin
Qiushi Wu 410822037c media: rcar-vin: Fix a reference count leak.
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: 2a18fbec1d ("media: rcar-vin: Move pm_runtime_{get,put} out of helpers")
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>
2020-09-27 10:52:15 +02:00
..
Kconfig media: rcar-vin: Kconfig: Update help description for VIDEO_RCAR_VIN config 2020-09-26 10:54:41 +02:00
Makefile media: rcar-vin: convert to SPDX identifiers 2018-08-03 16:03:45 -04:00
rcar-core.c media: rcar-vin: Enable YDS bit depending on bus_width and data_shift 2020-09-26 10:58:46 +02:00
rcar-csi2.c media: rcar-csi2: Enable support for R8A774E1 2020-09-26 10:57:55 +02:00
rcar-dma.c media: rcar-vin: Fix a reference count leak. 2020-09-27 10:51:57 +02:00
rcar-v4l2.c media: rcar-vin: Fix a reference count leak. 2020-09-27 10:52:15 +02:00
rcar-vin.h media: rcar-vin: Enable YDS bit depending on bus_width and data_shift 2020-09-26 10:58:46 +02:00