Skip to content

Commit

Permalink
V4L/DVB (10182): tda8290: fix TDA8290 + TDA18271 initialization
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
mkrufky authored and Mauro Carvalho Chehab committed Jan 8, 2009
1 parent 4326633 commit 439b72b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/media/common/tuners/tda8290.c
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,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);
Expand Down

0 comments on commit 439b72b

Please sign in to comment.