From e83618c8644a9c42aca8809fc9c7fcbbc9790b13 Mon Sep 17 00:00:00 2001 From: Chris Pascoe Date: Mon, 19 Nov 2007 17:53:50 +1000 Subject: xc2028: add missing break From: Chris Pascoe 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 --- linux/drivers/media/video/tuner-xc2028.c | 1 + 1 file changed, 1 insertion(+) (limited to 'linux') diff --git a/linux/drivers/media/video/tuner-xc2028.c b/linux/drivers/media/video/tuner-xc2028.c index a4bd6312f..23dcfcc24 100644 --- a/linux/drivers/media/video/tuner-xc2028.c +++ b/linux/drivers/media/video/tuner-xc2028.c @@ -500,6 +500,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); -- cgit v1.2.3