media: ov7670: do not aggregate returns
authorTom Rix <trix@redhat.com>
Tue, 6 Oct 2020 20:38:17 +0000 (22:38 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 16 Nov 2020 09:31:15 +0000 (10:31 +0100)
commit3abafaf41ab743162cae543932d94575d483ecbb
tree69bc6c621223c52a2b8463a14a6c6e0cdf3b54fe
parent734f0b0153f91b0bf79aea84593befffc85c3f98
media: ov7670: do not aggregate returns

Adding muliple status together loses individual failures.
Check each status separately.

Clean up some other returns for consistency.

Fixed several coding style problems by running
the file through checkpatch.pl --fix-inplace

Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/ov7670.c