Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29883
b: refs/heads/master
c: d21eac0
h: refs/heads/master
i:
  29881: cabf211
  29879: 308fe4f
v: v3
  • Loading branch information
Andrew de Quincey authored and Mauro Carvalho Chehab committed Jun 25, 2006
1 parent e4ca855 commit a420301
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 58ac7d36179e27d82e067752b792b1cc573fc590
refs/heads/master: d21eac0385dd11d3118ffd374451916fa413c0df
8 changes: 5 additions & 3 deletions trunk/drivers/media/dvb/frontends/tda8083.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);

Expand Down
4 changes: 0 additions & 4 deletions trunk/drivers/media/dvb/frontends/tda8083.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ struct tda8083_config
{
/* the demodulator's i2c address */
u8 demod_address;

/* PLL maintenance */
int (*pll_init)(struct dvb_frontend* fe);
int (*pll_set)(struct dvb_frontend* fe, struct dvb_frontend_parameters* params);
};

extern struct dvb_frontend* tda8083_attach(const struct tda8083_config* config,
Expand Down

0 comments on commit a420301

Please sign in to comment.