[media] ov9640: fix missing break
authorAlan Cox <alan@linux.intel.com>
Tue, 24 Jul 2012 14:50:49 +0000 (11:50 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 31 Jul 2012 00:02:34 +0000 (21:02 -0300)
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>
drivers/media/video/ov9640.c

index 23412debb36b30d6dada6f77a65278f7a6085b41..9ed4ba4236c47e4adf9920e7a88f974b513f3fc0 100644 (file)
@@ -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;