]> err.no Git - linux-2.6/commitdiff
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 ac7f3e1d32f469d3e371cb190dce2dd786b45115..7e558decad848841cd8b2a06b8fc8408158875f8 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);