aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/dvb/frontends/stb0899_drv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/dvb/frontends/stb0899_drv.c b/drivers/media/dvb/frontends/stb0899_drv.c
index ce1016eed808..67f6edfa7e56 100644
--- a/drivers/media/dvb/frontends/stb0899_drv.c
+++ b/drivers/media/dvb/frontends/stb0899_drv.c
@@ -1481,8 +1481,8 @@ static enum dvbfe_search stb0899_search(struct dvb_frontend *fe, struct dvbfe_pa
1481 } 1481 }
1482 dprintk(verbose, FE_DEBUG, 1, "delivery system=%d", state->delsys); 1482 dprintk(verbose, FE_DEBUG, 1, "delivery system=%d", state->delsys);
1483 1483
1484// SearchRange = 3000000; /* Search Bandwidth (3 Mhz, was initially 10 Mhz) */ 1484 SearchRange = 3000000; /* Search Bandwidth (3 Mhz, was initially 10 Mhz) */
1485 SearchRange = 10000000; /* Search Bandwidth (3 Mhz, was initially 10 Mhz) */ 1485// SearchRange = 10000000; /* Search Bandwidth (3 Mhz, was initially 10 Mhz) */
1486 dprintk(verbose, FE_DEBUG, 1, "Frequency=%d, Srate=%d", i_params->freq, i_params->srate); 1486 dprintk(verbose, FE_DEBUG, 1, "Frequency=%d, Srate=%d", i_params->freq, i_params->srate);
1487 /* checking Search Range is meaningless for a fixed 3 Mhz */ 1487 /* checking Search Range is meaningless for a fixed 3 Mhz */
1488 if (INRANGE(i_params->srate, 1000000, 45000000)) { 1488 if (INRANGE(i_params->srate, 1000000, 45000000)) {
@@ -1521,7 +1521,7 @@ static enum dvbfe_search stb0899_search(struct dvb_frontend *fe, struct dvbfe_pa
1521 1521
1522 /* What to do for tuners having no bandwidth setup ? */ 1522 /* What to do for tuners having no bandwidth setup ? */
1523 if (state->config->tuner_set_bandwidth) 1523 if (state->config->tuner_set_bandwidth)
1524 state->config->tuner_set_bandwidth(fe, (13 * (stb0899_carr_width(state) + 10000000)) / 10); 1524 state->config->tuner_set_bandwidth(fe, (135 * (stb0899_carr_width(state) + SearchRange)) / 100);
1525 if (state->config->tuner_get_bandwidth) 1525 if (state->config->tuner_get_bandwidth)
1526 state->config->tuner_get_bandwidth(fe, &internal->tuner_bw); 1526 state->config->tuner_get_bandwidth(fe, &internal->tuner_bw);
1527 /* Set DVB-S1 AGC */ 1527 /* Set DVB-S1 AGC */
@@ -1553,7 +1553,7 @@ static enum dvbfe_search stb0899_search(struct dvb_frontend *fe, struct dvbfe_pa
1553 internal->srch_range = SearchRange; 1553 internal->srch_range = SearchRange;
1554 1554
1555 if (state->config->tuner_set_bandwidth) 1555 if (state->config->tuner_set_bandwidth)
1556 state->config->tuner_set_bandwidth(fe, (stb0899_carr_width(state) + 10000000)); 1556 state->config->tuner_set_bandwidth(fe, (135 * (stb0899_carr_width(state) + SearchRange)) / 100);
1557 if (state->config->tuner_get_bandwidth) 1557 if (state->config->tuner_get_bandwidth)
1558 state->config->tuner_get_bandwidth(fe, &internal->tuner_bw); 1558 state->config->tuner_get_bandwidth(fe, &internal->tuner_bw);
1559 1559