diff options
author | Alan Cox <alan@linux.intel.com> | 2012-07-24 11:50:49 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-07-30 21:02:34 -0300 |
commit | 908d4d141f9608d1966ea8b483ee1c1aad04e438 (patch) | |
tree | 61fab6f3112afbbc2345006d1faa80c386b757ee | |
parent | 4927c3f1c48fff3473b684d2dac5b4e432861b4e (diff) |
[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: Alan Cox <alan@linux.intel.com>
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/video/ov9640.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/ov9640.c b/drivers/media/video/ov9640.c index 23412debb36b..9ed4ba4236c4 100644 --- a/drivers/media/video/ov9640.c +++ b/drivers/media/video/ov9640.c @@ -605,6 +605,7 @@ static int ov9640_video_probe(struct i2c_client *client) devname = "ov9640"; priv->model = V4L2_IDENT_OV9640; priv->revision = 2; + break; case OV9640_V3: devname = "ov9640"; priv->model = V4L2_IDENT_OV9640; |