Browse Source

[media] cx231xx: add a missing break statement

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>
Dan Carpenter 12 years ago
parent
commit
f62436a96a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/media/usb/cx231xx/cx231xx-video.c

+ 1 - 0
drivers/media/usb/cx231xx/cx231xx-video.c

@@ -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,