V4L/DVB (6637): xc2028: add missing break
authorChris Pascoe <c.pascoe@itee.uq.edu.au>
Mon, 19 Nov 2007 07:53:50 +0000 (04:53 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:02:25 +0000 (19:02 -0200)
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>
drivers/media/video/tuner-xc2028.c

index ac7f3e1..7e558de 100644 (file)
@@ -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);