Commit 908d4d14 authored by Alan Cox's avatar Alan Cox Committed by Mauro Carvalho Chehab

[media] ov9640: fix missing break

Without this rev2 ends up behaving as rev3

Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=44081

Reported-by: dcb314@hotmail.com
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Acked-by: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 4927c3f1
...@@ -605,6 +605,7 @@ static int ov9640_video_probe(struct i2c_client *client) ...@@ -605,6 +605,7 @@ static int ov9640_video_probe(struct i2c_client *client)
devname = "ov9640"; devname = "ov9640";
priv->model = V4L2_IDENT_OV9640; priv->model = V4L2_IDENT_OV9640;
priv->revision = 2; priv->revision = 2;
break;
case OV9640_V3: case OV9640_V3:
devname = "ov9640"; devname = "ov9640";
priv->model = V4L2_IDENT_OV9640; priv->model = V4L2_IDENT_OV9640;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment