summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMarkus Rechberger <mrechberger@gmail.com>2006-01-23 12:58:32 +0100
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-01-23 20:06:29 +0100
commitc73e4486bca4108cdc2dcc080306af4d7d75c1db (patch)
treebccc3c18499ce8e674defccc5893e84f663ad9dc /drivers/media
parentV4L/DVB (3428): drivers/media/dvb/ possible cleanups (diff)
downloadlinux-c73e4486bca4108cdc2dcc080306af4d7d75c1db.tar.xz
linux-c73e4486bca4108cdc2dcc080306af4d7d75c1db.zip
V4L/DVB (3429): Missing break statement on tuner-core
- default_tuner_init was called twice due to a missing break statement. Signed-off-by: Markus Rechberger <mrechberger@gmail.com> Acked-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/tuner-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c
index 2995b22acb43..e6bcd4b39741 100644
--- a/drivers/media/video/tuner-core.c
+++ b/drivers/media/video/tuner-core.c
@@ -216,6 +216,7 @@ static void set_type(struct i2c_client *c, unsigned int type,
buffer[3] = 0xa4;
i2c_master_send(c,buffer,4);
default_tuner_init(c);
+ break;
default:
default_tuner_init(c);
break;