diff options
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/dvb/frontends/dib3000mb.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/dib3000mc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/dib3000mb.c b/drivers/media/dvb/frontends/dib3000mb.c index f2fbb7c1598e..6f52d649e97e 100644 --- a/drivers/media/dvb/frontends/dib3000mb.c +++ b/drivers/media/dvb/frontends/dib3000mb.c | |||
@@ -61,7 +61,7 @@ static int dib3000mb_set_frontend(struct dvb_frontend* fe, | |||
61 | fe_code_rate_t fe_cr = FEC_NONE; | 61 | fe_code_rate_t fe_cr = FEC_NONE; |
62 | int search_state, seq; | 62 | int search_state, seq; |
63 | 63 | ||
64 | if (tuner) { | 64 | if (tuner && state->config.pll_addr && state->config.pll_set) { |
65 | dib3000mb_tuner_pass_ctrl(fe,1,state->config.pll_addr(fe)); | 65 | dib3000mb_tuner_pass_ctrl(fe,1,state->config.pll_addr(fe)); |
66 | state->config.pll_set(fe, fep, NULL); | 66 | state->config.pll_set(fe, fep, NULL); |
67 | dib3000mb_tuner_pass_ctrl(fe,0,state->config.pll_addr(fe)); | 67 | dib3000mb_tuner_pass_ctrl(fe,0,state->config.pll_addr(fe)); |
diff --git a/drivers/media/dvb/frontends/dib3000mc.c b/drivers/media/dvb/frontends/dib3000mc.c index bb0abdc78f37..888f10a5e96b 100644 --- a/drivers/media/dvb/frontends/dib3000mc.c +++ b/drivers/media/dvb/frontends/dib3000mc.c | |||
@@ -463,7 +463,7 @@ static int dib3000mc_set_frontend(struct dvb_frontend* fe, | |||
463 | int search_state,auto_val; | 463 | int search_state,auto_val; |
464 | u16 val; | 464 | u16 val; |
465 | 465 | ||
466 | if (tuner) { /* initial call from dvb */ | 466 | if (tuner && state->config.pll_addr && state->config.pll_set) { /* initial call from dvb */ |
467 | dib3000mc_tuner_pass_ctrl(fe,1,state->config.pll_addr(fe)); | 467 | dib3000mc_tuner_pass_ctrl(fe,1,state->config.pll_addr(fe)); |
468 | state->config.pll_set(fe,fep,NULL); | 468 | state->config.pll_set(fe,fep,NULL); |
469 | dib3000mc_tuner_pass_ctrl(fe,0,state->config.pll_addr(fe)); | 469 | dib3000mc_tuner_pass_ctrl(fe,0,state->config.pll_addr(fe)); |