summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
diff options
context:
space:
mode:
authorChris Pascoe <c.pascoe@itee.uq.edu.au>2007-11-19 17:53:50 +1000
committerChris Pascoe <c.pascoe@itee.uq.edu.au>2007-11-19 17:53:50 +1000
commite83618c8644a9c42aca8809fc9c7fcbbc9790b13 (patch)
treed99a8176fe2304bdbe084f104db822318e382ef8 /linux/drivers/media/video
parent350b7f1d6dc3515c775d3a399a54f49f60936de2 (diff)
downloadmediapointer-dvb-s2-e83618c8644a9c42aca8809fc9c7fcbbc9790b13.tar.gz
mediapointer-dvb-s2-e83618c8644a9c42aca8809fc9c7fcbbc9790b13.tar.bz2
xc2028: add missing break
From: Chris Pascoe <c.pascoe@itee.uq.edu.au> 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 'linux/drivers/media/video')
-rw-r--r--linux/drivers/media/video/tuner-xc2028.c1
1 files changed, 1 insertions, 0 deletions
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);