Skip to contentSkip to conversation

cx231xx: add a missing break statement

PATCH New Dan Carpenter 1 participant 1 message Jan 11, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
Untested.

drivers/media/usb/cx231xx/cx231xx-video.c +1 -0
index 93dfc18..06376d9 100644
@@ -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,