projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7289cf4
)
[media] ov2659: remove NOP assignment
author
Baruch Siach
<baruch@tkos.co.il>
Tue, 3 Jan 2017 20:06:56 +0000
(18:06 -0200)
committer
Mauro Carvalho Chehab
<mchehab@s-opensource.com>
Mon, 30 Jan 2017 17:46:29 +0000
(15:46 -0200)
The loop over the ov2659_formats[] array just a few lines above
verifies that mf->code matches the selected array entry.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/ov2659.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/media/i2c/ov2659.c
b/drivers/media/i2c/ov2659.c
index 1f999e9c0118e358ac111c17084c21799a677db0..6e6367214d408081f36416a1d8249a75b16fb4fd 100644
(file)
--- a/
drivers/media/i2c/ov2659.c
+++ b/
drivers/media/i2c/ov2659.c
@@
-1121,7
+1121,6
@@
static int ov2659_set_fmt(struct v4l2_subdev *sd,
return -EINVAL;
mf->colorspace = V4L2_COLORSPACE_SRGB;
- mf->code = ov2659_formats[index].code;
mf->field = V4L2_FIELD_NONE;
mutex_lock(&ov2659->lock);