aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tuner-core.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-10-27 01:00:57 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:01:30 -0500
commit8c125f2ceb3ec1ba01e96fffd8558ef163b40fe8 (patch)
tree04ba00ab3874035ec554fcd1a5b5812f42463082 /drivers/media/video/tuner-core.c
parent393bf5573269979aa3fb55d1bdd0db4fcb288f99 (diff)
V4L/DVB (6468): tda8290: auto-detect tda8290 or tda8295
Consolidate tda8290_attach() and tda8295_attach() into a single function, tda829x_attach(), which will detect chip combinations tda8290 or tda8295 with tda8275, tda8275a or tda18271. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/tuner-core.c')
-rw-r--r--drivers/media/video/tuner-core.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c
index 88db8b33c864..6ab57ec3f5a3 100644
--- a/drivers/media/video/tuner-core.c
+++ b/drivers/media/video/tuner-core.c
@@ -295,13 +295,9 @@ static void set_type(struct i2c_client *c, unsigned int type,
295 microtune_attach(&t->fe, t->i2c.adapter, t->i2c.addr); 295 microtune_attach(&t->fe, t->i2c.adapter, t->i2c.addr);
296 break; 296 break;
297 case TUNER_PHILIPS_TDA8290: 297 case TUNER_PHILIPS_TDA8290:
298 {
299 tda8290_attach(t);
300 break;
301 }
302 case TUNER_PHILIPS_TDA8295: 298 case TUNER_PHILIPS_TDA8295:
303 { 299 {
304 tda8295_attach(t); 300 tda829x_attach(t);
305 break; 301 break;
306 } 302 }
307 case TUNER_TEA5767: 303 case TUNER_TEA5767: