linux/drivers/media/i2c
Mauro Carvalho Chehab d487df9ef9 [media] ov7670: check read error also for REG_AECHH on ov7670_s_exp()
ov7670_s_exp() checks read error for 2 registers: REG_COM1
and REG_COM8. But, although it uses the value latter, it
doesn't check errors on REG_AECHH read. Yet, as it is doing
a bitmask operation there, the read operation should succeed.

So, fix the code to also check if this succeeded.

This fixes this smatch report:
	drivers/media/i2c/ov7670.c:1366 ov7670_s_exp() warn: inconsistent indenting

Compile-tested only.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Acked-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-05-01 06:06:13 -03:00
..
cx25840 [media] cx25840: better document the media pads 2015-02-26 08:45:58 -03:00
m5mols [media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config 2015-03-23 11:41:36 -07:00
s5c73m3 [media] s5c73m3/s5k5baf/s5k6aa: fix compiler warnings 2015-04-28 09:24:51 -03:00
smiapp [media] smiapp: Use v4l2_of_alloc_parse_endpoint() 2015-04-27 16:05:55 -03:00
soc_camera [media] ov2640: add missing consumer.h include 2015-04-08 06:29:15 -03:00
ad9389b.c [media] adv: use V4L2_DV_FL_IS_CE_VIDEO instead of V4L2_DV_BT_STD_CEA861 2015-04-08 06:38:31 -03:00
adp1653.c [media] media: i2c/adp1653: Devicetree support for adp1653 2015-04-27 16:19:23 -03:00
adv7170.c [media] i2c: Make use of media_bus_format enum 2014-11-14 17:52:48 -02:00
adv7175.c [media] i2c: Make use of media_bus_format enum 2014-11-14 17:52:48 -02:00
adv7180.c [media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config 2015-03-23 11:41:36 -07:00
adv7183.c [media] i2c: Make use of media_bus_format enum 2014-11-14 17:52:48 -02:00
adv7183_regs.h
adv7343.c [media] media: drop call to v4l2_device_unregister_subdev() 2015-03-03 11:21:41 -03:00
adv7343_regs.h
adv7393.c
adv7393_regs.h
adv7511.c [media] adv: use V4L2_DV_FL_IS_CE_VIDEO instead of V4L2_DV_BT_STD_CEA861 2015-04-08 06:38:31 -03:00
adv7604.c [media] adv: use V4L2_DV_FL_IS_CE_VIDEO instead of V4L2_DV_BT_STD_CEA861 2015-04-08 06:38:31 -03:00
adv7842.c [media] adv: use V4L2_DV_FL_IS_CE_VIDEO instead of V4L2_DV_BT_STD_CEA861 2015-04-08 06:38:31 -03:00
ak881x.c [media] i2c: Make use of media_bus_format enum 2014-11-14 17:52:48 -02:00
aptina-pll.c
aptina-pll.h
as3645a.c
bt819.c
bt856.c
bt866.c
cs53l32a.c
cs5345.c
ir-kbd-i2c.c [media] i2c: Deletion of an unnecessary check before the function call "rc_unregister_device" 2014-11-25 13:30:35 -02:00
Kconfig [media] media: i2c: add support for omnivision's ov2659 sensor 2015-04-02 22:15:46 -03:00
ks0127.c
ks0127.h
lm3560.c
lm3646.c
m52790.c
Makefile [media] media: i2c: add support for omnivision's ov2659 sensor 2015-04-02 22:15:46 -03:00
ml86v7667.c [media] i2c: Make use of media_bus_format enum 2014-11-14 17:52:48 -02:00
msp3400-driver.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
msp3400-driver.h
msp3400-kthreads.c
mt9m032.c [media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config 2015-03-23 11:41:36 -07:00
mt9p031.c [media] v4l: mt9p031: Convert to the gpiod API 2015-04-02 21:29:56 -03:00
mt9t001.c [media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config 2015-03-23 11:41:36 -07:00
mt9v011.c [media] i2c: Make use of media_bus_format enum 2014-11-14 17:52:48 -02:00
mt9v032.c [media] v4l: mt9v032: Add OF support 2015-04-02 21:31:31 -03:00
noon010pc30.c [media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config 2015-03-23 11:41:36 -07:00
ov2659.c [media] media: i2c: add support for omnivision's ov2659 sensor 2015-04-02 22:15:46 -03:00
ov7640.c
ov7670.c [media] ov7670: check read error also for REG_AECHH on ov7670_s_exp() 2015-05-01 06:06:13 -03:00
ov9650.c [media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config 2015-03-23 11:41:36 -07:00
s5k4ecgx.c [media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config 2015-03-23 11:41:36 -07:00
s5k5baf.c [media] s5c73m3/s5k5baf/s5k6aa: fix compiler warnings 2015-04-28 09:24:51 -03:00
s5k6a3.c [media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config 2015-03-23 11:41:36 -07:00
s5k6aa.c [media] s5c73m3/s5k5baf/s5k6aa: fix compiler warnings 2015-04-28 09:24:51 -03:00
saa711x_regs.h
saa717x.c [media] saa717x: fix multi-byte read code 2015-04-30 13:35:13 -03:00
saa6588.c
saa6752hs.c [media] i2c: Make use of media_bus_format enum 2014-11-14 17:52:48 -02:00
saa7110.c
saa7115.c [media] i2c: Make use of media_bus_format enum 2014-11-14 17:52:48 -02:00
saa7127.c
saa7185.c
smiapp-pll.c [media] smiapp-pll: include linux/device.h in smiapp-pll.c, not in smiapp-pll.h 2014-12-23 11:29:01 -02:00
smiapp-pll.h [media] smiapp-pll: include linux/device.h in smiapp-pll.c, not in smiapp-pll.h 2014-12-23 11:29:01 -02:00
sony-btf-mpx.c
sr030pc30.c [media] i2c: Make use of media_bus_format enum 2014-11-14 17:52:48 -02:00
tda7432.c
tda9840.c
tea6415c.c
tea6415c.h
tea6420.c
tea6420.h
ths7303.c [media] media: i2c: ths7303: drop module param debug 2015-03-03 11:21:57 -03:00
ths8200.c [media] media: drop call to v4l2_device_unregister_subdev() 2015-03-03 11:21:41 -03:00
ths8200_regs.h
tlv320aic23b.c
tvaudio.c
tvp514x.c [media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config 2015-03-23 11:41:36 -07:00
tvp514x_regs.h
tvp5150.c [media] i2c: Make use of media_bus_format enum 2014-11-14 17:52:48 -02:00
tvp5150_reg.h
tvp7002.c [media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config 2015-03-23 11:41:36 -07:00
tvp7002_reg.h
tw2804.c
tw9903.c
tw9906.c
uda1342.c
upd64031a.c
upd64083.c
vp27smpx.c
vpx3220.c
vs6624.c [media] i2c: Make use of media_bus_format enum 2014-11-14 17:52:48 -02:00
vs6624_regs.h
wm8739.c
wm8775.c