linux/drivers/media/platform/rcar-vin
Niklas Söderlund a0862a4036 media: rcar-vin: Fix incorrect return statement in rvin_try_format()
While refactoring code the return statement became corrupted, fix it by
returning the correct return code.

Reported-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Fixes: 897e371389 ("media: rcar-vin: simplify how formats are set and reset"
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-10-01 17:05:34 -03:00
..
Kconfig media: rcar-csi2: Use standby mode instead of resetting 2019-04-22 12:12:55 -04:00
Makefile media: rcar-vin: convert to SPDX identifiers 2018-08-03 16:03:45 -04:00
rcar-core.c media: rcar-vin: Add control for alpha component 2019-07-25 11:45:55 -04:00
rcar-csi2.c media: rcar-csi2: Fix coccinelle warning for PTR_ERR_OR_ZERO() 2019-05-28 12:50:03 -04:00
rcar-dma.c media: rcar-vin: Report correct image stride 2019-08-13 11:39:02 -03:00
rcar-v4l2.c media: rcar-vin: Fix incorrect return statement in rvin_try_format() 2019-10-01 17:05:34 -03:00
rcar-vin.h media: rcar-vin: Add control for alpha component 2019-07-25 11:45:55 -04:00