summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2012-07-24 16:50:49 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-07-31 02:02:34 +0200
commit908d4d141f9608d1966ea8b483ee1c1aad04e438 (patch)
tree61fab6f3112afbbc2345006d1faa80c386b757ee
parent[media] davinci: vpbe: fix build error when CONFIG_VIDEO_ADV_DEBUG is enabled (diff)
downloadlinux-908d4d141f9608d1966ea8b483ee1c1aad04e438.tar.xz
linux-908d4d141f9608d1966ea8b483ee1c1aad04e438.zip
[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>
Diffstat (limited to '')
-rw-r--r--drivers/media/video/ov9640.c1
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;