diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2009-01-05 16:25:04 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-01-07 19:18:55 -0500 |
commit | 439b72b69e4992e9ec34b74304f0fa95623934eb (patch) | |
tree | a2148b8fe0520b20669a4ae2b251e77392f25871 /drivers/media | |
parent | 432663375b04ed9700ea7d3c8e737432d1be6490 (diff) |
V4L/DVB (10182): tda8290: fix TDA8290 + TDA18271 initialization
Don't call tda8290_init_tuner unless we have either a TDA8275 or TDA8275A
present. Calling this function will cause a TDA18271 to get sick, so we
should only call it when needed.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/common/tuners/tda8290.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/common/tuners/tda8290.c b/drivers/media/common/tuners/tda8290.c index 0e7f77f93e00..4b8662edb7cb 100644 --- a/drivers/media/common/tuners/tda8290.c +++ b/drivers/media/common/tuners/tda8290.c | |||
@@ -766,7 +766,8 @@ struct dvb_frontend *tda829x_attach(struct dvb_frontend *fe, | |||
766 | fe->ops.analog_ops.info.name = name; | 766 | fe->ops.analog_ops.info.name = name; |
767 | 767 | ||
768 | if (priv->ver & TDA8290) { | 768 | if (priv->ver & TDA8290) { |
769 | tda8290_init_tuner(fe); | 769 | if (priv->ver & (TDA8275 | TDA8275A)) |
770 | tda8290_init_tuner(fe); | ||
770 | tda8290_init_if(fe); | 771 | tda8290_init_if(fe); |
771 | } else if (priv->ver & TDA8295) | 772 | } else if (priv->ver & TDA8295) |
772 | tda8295_init_if(fe); | 773 | tda8295_init_if(fe); |