Commit 439b72b6 authored by Michael Krufky's avatar Michael Krufky Committed by Mauro Carvalho Chehab

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: default avatarMichael Krufky <mkrufky@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 43266337
...@@ -766,6 +766,7 @@ struct dvb_frontend *tda829x_attach(struct dvb_frontend *fe, ...@@ -766,6 +766,7 @@ struct dvb_frontend *tda829x_attach(struct dvb_frontend *fe,
fe->ops.analog_ops.info.name = name; fe->ops.analog_ops.info.name = name;
if (priv->ver & TDA8290) { if (priv->ver & TDA8290) {
if (priv->ver & (TDA8275 | TDA8275A))
tda8290_init_tuner(fe); tda8290_init_tuner(fe);
tda8290_init_if(fe); tda8290_init_if(fe);
} else if (priv->ver & TDA8295) } else if (priv->ver & TDA8295)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment