Browse Source

V4L/DVB (6637): xc2028: add missing break

Add break to stop us from following the default failure path even upon success.

Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Chris Pascoe 17 years ago
parent
commit
b32f9fb962
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/media/video/tuner-xc2028.c

+ 1 - 0
drivers/media/video/tuner-xc2028.c

@@ -485,6 +485,7 @@ static int load_firmware(struct dvb_frontend *fe, unsigned int type,
 						  (*p) & 0x7f);
 					return -EINVAL;
 				}
+				break;
 			default:
 				tuner_info("Invalid RESET code %d\n",
 					   size & 0x7f);