linux/drivers/media/platform/rcar-vin
Niklas Söderlund 8d19d5d03b media: rcar-vin: fix wrong return value in rvin_set_channel_routing()
If the operation in rvin_set_channel_routing() is successful the 'ret'
variable contains the runtime PM use count for the VIN master device.
The intention is not to return the use count to the caller but to return
0 on success else none zero.

Fix this by always returning 0 if the operation is successful.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-01-21 15:41:57 -02:00
..
Kconfig media: rcar-vin: convert to SPDX identifiers 2018-08-03 16:03:45 -04:00
Makefile media: rcar-vin: convert to SPDX identifiers 2018-08-03 16:03:45 -04:00
rcar-core.c media: rcar-vin: Allow independent VIN link enablement 2019-01-16 14:10:10 -05:00
rcar-csi2.c media: rcar-csi2: Add support for RZ/G2E 2019-01-16 12:37:51 -05:00
rcar-dma.c media: rcar-vin: fix wrong return value in rvin_set_channel_routing() 2019-01-21 15:41:57 -02:00
rcar-v4l2.c media: vidioc_cropcap -> vidioc_g_pixelaspect 2018-11-20 13:57:21 -05:00
rcar-vin.h media: rcar-vin: convert to SPDX identifiers 2018-08-03 16:03:45 -04:00