diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2009-01-05 16:25:04 -0500 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2009-01-05 16:25:04 -0500 |
commit | 0323f6d4e7899deb91282234adf93cced54b2e7f (patch) | |
tree | eea533cc282c64baf1f8f43a741a7603de16cbd1 /linux/drivers/media/common/tuners/tda8290.c | |
parent | 6c58bd48a9d50637a1ec73c5ef3487add042bc82 (diff) | |
download | mediapointer-dvb-s2-0323f6d4e7899deb91282234adf93cced54b2e7f.tar.gz mediapointer-dvb-s2-0323f6d4e7899deb91282234adf93cced54b2e7f.tar.bz2 |
tda8290: fix TDA8290 + TDA18271 initialization
From: Michael Krufky <mkrufky@linuxtv.org>
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.
Priority: high
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/common/tuners/tda8290.c')
-rw-r--r-- | linux/drivers/media/common/tuners/tda8290.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/common/tuners/tda8290.c b/linux/drivers/media/common/tuners/tda8290.c index a005e89da..67c0fd5f7 100644 --- a/linux/drivers/media/common/tuners/tda8290.c +++ b/linux/drivers/media/common/tuners/tda8290.c @@ -789,7 +789,8 @@ struct dvb_frontend *tda829x_attach(struct dvb_frontend *fe, fe->ops.analog_ops.info.name = name; if (priv->ver & TDA8290) { - tda8290_init_tuner(fe); + if (priv->ver & (TDA8275 | TDA8275A)) + tda8290_init_tuner(fe); tda8290_init_if(fe); } else if (priv->ver & TDA8295) tda8295_init_if(fe); |