projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22ee125
)
V4L/DVB (6679): tda8290: force tuner init after attach
author
Michael Krufky
<mkrufky@linuxtv.org>
Fri, 23 Nov 2007 18:08:11 +0000
(15:08 -0300)
committer
Mauro Carvalho Chehab
<mchehab@infradead.org>
Fri, 25 Jan 2008 21:02:59 +0000
(19:02 -0200)
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>
drivers/media/video/tda8290.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/tda8290.c
b/drivers/media/video/tda8290.c
index
c606f3c
..
09efb6a
100644
(file)
--- 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)
tda827x_attach(&t->fe, priv->tda827x_addr,
priv->i2c_props.adap, &priv->cfg);
-
- /* FIXME: tda827x module doesn't probe the tuner until
- * tda827x_initial_sleep is called
- */
- if (t->fe.ops.tuner_ops.sleep)
- t->fe.ops.tuner_ops.sleep(&t->fe);
}
+ if (t->fe.ops.tuner_ops.init)
+ t->fe.ops.tuner_ops.init(&t->fe);
+
+ if (t->fe.ops.tuner_ops.sleep)
+ t->fe.ops.tuner_ops.sleep(&t->fe);
+
ops->i2c_gate_ctrl(fe, 0);
switch (priv->ver) {