diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2007-10-27 02:00:57 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 19:01:30 -0200 |
commit | 8c125f2ceb3ec1ba01e96fffd8558ef163b40fe8 (patch) | |
tree | 04ba00ab3874035ec554fcd1a5b5812f42463082 /drivers/media/video/tuner-core.c | |
parent | 393bf5573269979aa3fb55d1bdd0db4fcb288f99 (diff) | |
download | op-kernel-dev-8c125f2ceb3ec1ba01e96fffd8558ef163b40fe8.zip op-kernel-dev-8c125f2ceb3ec1ba01e96fffd8558ef163b40fe8.tar.gz |
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.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c index 88db8b3..6ab57ec 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, microtune_attach(&t->fe, t->i2c.adapter, t->i2c.addr); break; case TUNER_PHILIPS_TDA8290: - { - tda8290_attach(t); - break; - } case TUNER_PHILIPS_TDA8295: { - tda8295_attach(t); + tda829x_attach(t); break; } case TUNER_TEA5767: |