diff options
Diffstat (limited to 'drivers/media/dvb/frontends/dib3000mc.c')
-rw-r--r-- | drivers/media/dvb/frontends/dib3000mc.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/media/dvb/frontends/dib3000mc.c b/drivers/media/dvb/frontends/dib3000mc.c index 3b303dbb6156..68a443b3d504 100644 --- a/drivers/media/dvb/frontends/dib3000mc.c +++ b/drivers/media/dvb/frontends/dib3000mc.c | |||
@@ -462,8 +462,9 @@ static int dib3000mc_set_frontend(struct dvb_frontend* fe, | |||
462 | int search_state,auto_val; | 462 | int search_state,auto_val; |
463 | u16 val; | 463 | u16 val; |
464 | 464 | ||
465 | if (tuner && state->config.pll_set) { /* initial call from dvb */ | 465 | if (tuner && fe->ops->tuner_ops.set_params) { /* initial call from dvb */ |
466 | state->config.pll_set(fe,fep); | 466 | fe->ops->tuner_ops.set_params(fe, fep); |
467 | if (fe->ops->i2c_gate_ctrl) fe->ops->i2c_gate_ctrl(fe, 0); | ||
467 | 468 | ||
468 | state->last_tuned_freq = fep->frequency; | 469 | state->last_tuned_freq = fep->frequency; |
469 | // if (!scanboost) { | 470 | // if (!scanboost) { |
@@ -642,9 +643,6 @@ static int dib3000mc_fe_init(struct dvb_frontend* fe, int mobile_mode) | |||
642 | 643 | ||
643 | set_or(DIB3000MC_REG_CLK_CFG_7,DIB3000MC_CLK_CFG_7_DIV_IN_OFF); | 644 | set_or(DIB3000MC_REG_CLK_CFG_7,DIB3000MC_CLK_CFG_7_DIV_IN_OFF); |
644 | 645 | ||
645 | if (state->config.pll_init) | ||
646 | state->config.pll_init(fe); | ||
647 | |||
648 | deb_info("init end\n"); | 646 | deb_info("init end\n"); |
649 | return 0; | 647 | return 0; |
650 | } | 648 | } |