summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/tda8083.c
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2006-04-25 19:26:46 -0500
committerMike Isely <isely@pobox.com>2006-04-25 19:26:46 -0500
commite362706b3e90987c5ca839def8372bff58fea7c0 (patch)
tree2c94262c383b9f881b278b9bfe0499231a7458ef /linux/drivers/media/dvb/frontends/tda8083.c
parent60f073ffa46dc14bcbc82b9c14ff5fb6cc2a5102 (diff)
parent682261e2c90d58868dd27ef1c524e327074a637d (diff)
downloadmediapointer-dvb-s2-e362706b3e90987c5ca839def8372bff58fea7c0.tar.gz
mediapointer-dvb-s2-e362706b3e90987c5ca839def8372bff58fea7c0.tar.bz2
Merge from master
From: Mike Isely <isely@pobox.com> Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/tda8083.c')
-rw-r--r--linux/drivers/media/dvb/frontends/tda8083.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/frontends/tda8083.c b/linux/drivers/media/dvb/frontends/tda8083.c
index 91baa9ced..0aeaec890 100644
--- a/linux/drivers/media/dvb/frontends/tda8083.c
+++ b/linux/drivers/media/dvb/frontends/tda8083.c
@@ -293,7 +293,11 @@ static int tda8083_set_frontend(struct dvb_frontend* fe, struct dvb_frontend_par
{
struct tda8083_state* state = fe->demodulator_priv;
- state->config->pll_set(fe, p);
+ if (fe->ops->tuner_ops.set_params) {
+ fe->ops->tuner_ops.set_params(fe, p);
+ if (fe->ops->i2c_gate_ctrl) fe->ops->i2c_gate_ctrl(fe, 0);
+ }
+
tda8083_set_inversion (state, p->inversion);
tda8083_set_fec (state, p->u.qpsk.fec_inner);
tda8083_set_symbolrate (state, p->u.qpsk.symbol_rate);
@@ -334,8 +338,6 @@ static int tda8083_init(struct dvb_frontend* fe)
for (i=0; i<44; i++)
tda8083_writereg (state, i, tda8083_init_tab[i]);
- if (state->config->pll_init) state->config->pll_init(fe);
-
tda8083_writereg (state, 0x00, 0x3c);
tda8083_writereg (state, 0x00, 0x04);