aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tuner-xc2028.c
diff options
context:
space:
mode:
authorChris Pascoe <c.pascoe@itee.uq.edu.au>2007-11-19 02:53:50 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:02:25 -0500
commitb32f9fb962d593e3c5a61092a79434714f405ef5 (patch)
treeb48188b518201dc9c46f6d0c32fc44b327e5fc7c /drivers/media/video/tuner-xc2028.c
parentaa501be989f5df58c4732d5eb1989e5ca6479d90 (diff)
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>
Diffstat (limited to 'drivers/media/video/tuner-xc2028.c')
-rw-r--r--drivers/media/video/tuner-xc2028.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/tuner-xc2028.c b/drivers/media/video/tuner-xc2028.c
index ac7f3e1d32f4..7e558decad84 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,
485 (*p) & 0x7f); 485 (*p) & 0x7f);
486 return -EINVAL; 486 return -EINVAL;
487 } 487 }
488 break;
488 default: 489 default:
489 tuner_info("Invalid RESET code %d\n", 490 tuner_info("Invalid RESET code %d\n",
490 size & 0x7f); 491 size & 0x7f);