From: Chris Pascoe Date: Mon, 19 Nov 2007 07:53:50 +0000 (-0300) Subject: V4L/DVB (6637): xc2028: add missing break X-Git-Tag: v2.6.25-rc1~1235^2~336 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b32f9fb962d593e3c5a61092a79434714f405ef5;p=linux-2.6 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 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/tuner-xc2028.c b/drivers/media/video/tuner-xc2028.c index ac7f3e1d32..7e558decad 100644 --- a/drivers/media/video/tuner-xc2028.c +++ b/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);