|
@@ -293,7 +293,11 @@ static int tda8083_set_frontend(struct dvb_frontend* fe, struct dvb_frontend_par
|
|
{
|
|
{
|
|
struct tda8083_state* state = fe->demodulator_priv;
|
|
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_inversion (state, p->inversion);
|
|
tda8083_set_fec (state, p->u.qpsk.fec_inner);
|
|
tda8083_set_fec (state, p->u.qpsk.fec_inner);
|
|
tda8083_set_symbolrate (state, p->u.qpsk.symbol_rate);
|
|
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++)
|
|
for (i=0; i<44; i++)
|
|
tda8083_writereg (state, i, tda8083_init_tab[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, 0x3c);
|
|
tda8083_writereg (state, 0x00, 0x04);
|
|
tda8083_writereg (state, 0x00, 0x04);
|
|
|
|
|