diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2007-11-23 13:08:11 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:02:59 -0500 |
commit | 63c254805e38bad4c64b5f5b0e135a2a357fa0bf (patch) | |
tree | 244c3f9ec61589daeaeba4671433dbff71536d90 /drivers/media/video/tda8290.c | |
parent | 22ee1250bd41534552c61be13994fd12d1ee1318 (diff) |
V4L/DVB (6679): tda8290: force tuner init after attach
Force tuner init after attach, then sleep until use.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/tda8290.c')
-rw-r--r-- | drivers/media/video/tda8290.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/media/video/tda8290.c b/drivers/media/video/tda8290.c index c606f3c38cf4..09efb6a60dbc 100644 --- a/drivers/media/video/tda8290.c +++ b/drivers/media/video/tda8290.c | |||
@@ -597,13 +597,13 @@ static int tda829x_find_tuner(struct dvb_frontend *fe) | |||
597 | 597 | ||
598 | tda827x_attach(&t->fe, priv->tda827x_addr, | 598 | tda827x_attach(&t->fe, priv->tda827x_addr, |
599 | priv->i2c_props.adap, &priv->cfg); | 599 | priv->i2c_props.adap, &priv->cfg); |
600 | |||
601 | /* FIXME: tda827x module doesn't probe the tuner until | ||
602 | * tda827x_initial_sleep is called | ||
603 | */ | ||
604 | if (t->fe.ops.tuner_ops.sleep) | ||
605 | t->fe.ops.tuner_ops.sleep(&t->fe); | ||
606 | } | 600 | } |
601 | if (t->fe.ops.tuner_ops.init) | ||
602 | t->fe.ops.tuner_ops.init(&t->fe); | ||
603 | |||
604 | if (t->fe.ops.tuner_ops.sleep) | ||
605 | t->fe.ops.tuner_ops.sleep(&t->fe); | ||
606 | |||
607 | ops->i2c_gate_ctrl(fe, 0); | 607 | ops->i2c_gate_ctrl(fe, 0); |
608 | 608 | ||
609 | switch (priv->ver) { | 609 | switch (priv->ver) { |