summaryrefslogtreecommitdiff
path: root/drivers/media/video/tuner-core.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-11-03 22:14:54 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 19:01:56 -0200
commitf1f32849d65ab1eacfedbabb624876ac06c1af9f (patch)
tree4470002d7a402c33236de694a94a05f33042ade2 /drivers/media/video/tuner-core.c
parent9b15c0251ba9d20dd88a69b2c607a2f2e5f0133a (diff)
V4L/DVB (6543): tda8290: enable probing of tda8295
Prevent the tda8295 from falsely being detected as a tda9887 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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c
index 17c873c869af..3ec50dbed742 100644
--- a/drivers/media/video/tuner-core.c
+++ b/drivers/media/video/tuner-core.c
@@ -649,8 +649,8 @@ static int tuner_attach(struct i2c_adapter *adap, int addr, int kind)
case 0x4b:
/* If chip is not tda8290, don't register.
since it can be tda9887*/
- if (tda8290_probe(t) == 0) {
- tuner_dbg("chip at addr %x is a tda8290\n", addr);
+ if (tda829x_probe(t) == 0) {
+ tuner_dbg("tda829x detected\n");
} else {
/* Default is being tda9887 */
t->type = TUNER_TDA9887;