summaryrefslogtreecommitdiff
path: root/drivers/media/usb/cx231xx/cx231xx-417.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-04-29 09:50:41 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-05-01 06:06:13 -0300
commitd487df9ef9659b6453751674994178f7f2564dd2 (patch)
tree0de7bd17fc8190566a3ad738a75ad8bfc949de2f /drivers/media/usb/cx231xx/cx231xx-417.c
parent5e6b681b1249a6db33ae12ef13a8285d0de39679 (diff)
[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>
Diffstat (limited to 'drivers/media/usb/cx231xx/cx231xx-417.c')
0 files changed, 0 insertions, 0 deletions