[media] cx231xx: add a missing break statement
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 11 Jan 2013 05:48:41 +0000 (02:48 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Feb 2013 22:22:06 +0000 (20:22 -0200)
My static checker complains about the fall through here.  From the
context it looks like we should add a break statement.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/cx231xx/cx231xx-video.c

index 93dfc182ec519d6b4aa1e0e05501d9190305afce..06376d904c9f0a715b287725d334710563dd7dd2 100644 (file)
@@ -1751,6 +1751,7 @@ static int vidioc_s_register(struct file *file, void *priv,
                                                        0x02,
                                                        (u16)reg->reg, 1,
                                                        value, 1, 2);
+                                       break;
                        case 0x322:
                                        ret =
                                                cx231xx_write_i2c_master(dev,