diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2007-10-27 01:00:57 -0400 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2007-10-27 01:00:57 -0400 |
commit | 50185c8f6e8634aebd934c66584a299945750772 (patch) | |
tree | 13f1008388631bc8c787614417f5f0b45f03d06a /linux/drivers/media/video/tuner-core.c | |
parent | 67da967ca82fae5cdaba3d5b646bc505ba423813 (diff) | |
download | mediapointer-dvb-s2-50185c8f6e8634aebd934c66584a299945750772.tar.gz mediapointer-dvb-s2-50185c8f6e8634aebd934c66584a299945750772.tar.bz2 |
tda8290: auto-detect tda8290 or tda8295
From: Michael Krufky <mkrufky@linuxtv.org>
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>
---
linux/drivers/media/video/tda8290.c | 263 +++++++++++++++------------------
linux/drivers/media/video/tda8290.h | 12 -
linux/drivers/media/video/tuner-core.c | 6
3 files changed, 130 insertions(+), 151 deletions(-)
Diffstat (limited to 'linux/drivers/media/video/tuner-core.c')
-rw-r--r-- | linux/drivers/media/video/tuner-core.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/linux/drivers/media/video/tuner-core.c b/linux/drivers/media/video/tuner-core.c index 9e7cf77e0..630b19ef0 100644 --- a/linux/drivers/media/video/tuner-core.c +++ b/linux/drivers/media/video/tuner-core.c @@ -322,13 +322,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: |