diff options
Diffstat (limited to 'drivers/media/dvb/frontends/dib3000mc.c')
-rw-r--r-- | drivers/media/dvb/frontends/dib3000mc.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/media/dvb/frontends/dib3000mc.c b/drivers/media/dvb/frontends/dib3000mc.c index 3561a777568c..5da66178006c 100644 --- a/drivers/media/dvb/frontends/dib3000mc.c +++ b/drivers/media/dvb/frontends/dib3000mc.c | |||
@@ -511,16 +511,11 @@ static int dib3000mc_autosearch_start(struct dvb_frontend *demod, struct dibx000 | |||
511 | 511 | ||
512 | 512 | ||
513 | /* a channel for autosearch */ | 513 | /* a channel for autosearch */ |
514 | reg = 0; | ||
515 | if (chan->nfft == -1 && chan->guard == -1) reg = 7; | ||
516 | if (chan->nfft == -1 && chan->guard != -1) reg = 2; | ||
517 | if (chan->nfft != -1 && chan->guard == -1) reg = 3; | ||
518 | |||
519 | fchan.nfft = 1; fchan.guard = 0; fchan.nqam = 2; | 514 | fchan.nfft = 1; fchan.guard = 0; fchan.nqam = 2; |
520 | fchan.vit_alpha = 1; fchan.vit_code_rate_hp = 2; fchan.vit_code_rate_lp = 2; | 515 | fchan.vit_alpha = 1; fchan.vit_code_rate_hp = 2; fchan.vit_code_rate_lp = 2; |
521 | fchan.vit_hrch = 0; fchan.vit_select_hp = 1; | 516 | fchan.vit_hrch = 0; fchan.vit_select_hp = 1; |
522 | 517 | ||
523 | dib3000mc_set_channel_cfg(state, &fchan, reg); | 518 | dib3000mc_set_channel_cfg(state, &fchan, 7); |
524 | 519 | ||
525 | reg = dib3000mc_read_word(state, 0); | 520 | reg = dib3000mc_read_word(state, 0); |
526 | dib3000mc_write_word(state, 0, reg | (1 << 8)); | 521 | dib3000mc_write_word(state, 0, reg | (1 << 8)); |