summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Rechberger <mrechberger@gmail.com>2006-01-23 17:11:09 -0200
committerMauro Carvalho Chehab <mchehab@brturbo.com.br>2006-01-23 17:11:09 -0200
commitac272ed7f1ae15084c64bdc4d3b4578ec2a0830b (patch)
treea97c2231872cfd59767684c20d78694dbefeaf42
parent703cb2cbf4250215e67f4a04081e4ea9d9f34bc9 (diff)
downloadop-kernel-dev-ac272ed7f1ae15084c64bdc4d3b4578ec2a0830b.zip
op-kernel-dev-ac272ed7f1ae15084c64bdc4d3b4578ec2a0830b.tar.gz
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>
-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 af3e7bb..cd2d5a7 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;
OpenPOWER on IntegriCloud