linux_dsm_epyc7002/drivers/media/i2c/soc_camera
Christophe JAILLET a5bc63f28a [media] soc-camera: Fix a return value in case of error
If 'ov9640_reg_read()' does not return 0, then 'val' is left unmodified.
As it is not initialized either, the return value can be anything.

It is likely that returning the error code was expected here.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-01-30 14:46:44 -02:00
..
imx074.c [media] v4l2: remove g/s_crop from video ops 2016-08-24 09:46:09 -03:00
Kconfig [media] media: mt9m111: move mt9m111 out of soc_camera 2016-09-09 10:41:17 -03:00
Makefile [media] media: mt9m111: move mt9m111 out of soc_camera 2016-09-09 10:41:17 -03:00
mt9m001.c [media] v4l2: remove g/s_crop from video ops 2016-08-24 09:46:09 -03:00
mt9t031.c [media] v4l2: remove g/s_crop from video ops 2016-08-24 09:46:09 -03:00
mt9t112.c [media] v4l2: remove g/s_crop from video ops 2016-08-24 09:46:09 -03:00
mt9v022.c [media] v4l2: remove g/s_crop from video ops 2016-08-24 09:46:09 -03:00
ov772x.c [media] soc_camera: don't break long lines 2016-10-21 08:51:50 -02:00
ov2640.c [media] v4l2: remove g/s_crop from video ops 2016-08-24 09:46:09 -03:00
ov5642.c [media] v4l2: remove g/s_crop from video ops 2016-08-24 09:46:09 -03:00
ov6650.c [media] v4l2: remove g/s_crop from video ops 2016-08-24 09:46:09 -03:00
ov9640.c [media] soc-camera: Fix a return value in case of error 2017-01-30 14:46:44 -02:00
ov9640.h [media] soc-camera: switch I2C subdevice drivers to use v4l2-clk 2013-06-21 16:32:36 -03:00
ov9740.c [media] soc_camera: don't break long lines 2016-10-21 08:51:50 -02:00
rj54n1cb0c.c [media] v4l2: remove g/s_crop from video ops 2016-08-24 09:46:09 -03:00
tw9910.c [media] soc_camera: don't break long lines 2016-10-21 08:51:50 -02:00