Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 124054
b: refs/heads/master
c: d98c028
h: refs/heads/master
v: v3
  • Loading branch information
Manu Abraham authored and Mauro Carvalho Chehab committed Dec 29, 2008
1 parent a97485d commit b45968f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 421b2970d24f7571039b29e6726bce1608578ac4
refs/heads/master: d98c02859fbeefe19e6b182997c6a8b3c9c32acc
8 changes: 4 additions & 4 deletions trunk/drivers/media/dvb/frontends/stb0899_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -1481,8 +1481,8 @@ static enum dvbfe_search stb0899_search(struct dvb_frontend *fe, struct dvbfe_pa
}
dprintk(verbose, FE_DEBUG, 1, "delivery system=%d", state->delsys);

// SearchRange = 3000000; /* Search Bandwidth (3 Mhz, was initially 10 Mhz) */
SearchRange = 10000000; /* Search Bandwidth (3 Mhz, was initially 10 Mhz) */
SearchRange = 3000000; /* Search Bandwidth (3 Mhz, was initially 10 Mhz) */
// SearchRange = 10000000; /* Search Bandwidth (3 Mhz, was initially 10 Mhz) */
dprintk(verbose, FE_DEBUG, 1, "Frequency=%d, Srate=%d", i_params->freq, i_params->srate);
/* checking Search Range is meaningless for a fixed 3 Mhz */
if (INRANGE(i_params->srate, 1000000, 45000000)) {
Expand Down Expand Up @@ -1521,7 +1521,7 @@ static enum dvbfe_search stb0899_search(struct dvb_frontend *fe, struct dvbfe_pa

/* What to do for tuners having no bandwidth setup ? */
if (state->config->tuner_set_bandwidth)
state->config->tuner_set_bandwidth(fe, (13 * (stb0899_carr_width(state) + 10000000)) / 10);
state->config->tuner_set_bandwidth(fe, (135 * (stb0899_carr_width(state) + SearchRange)) / 100);
if (state->config->tuner_get_bandwidth)
state->config->tuner_get_bandwidth(fe, &internal->tuner_bw);
/* Set DVB-S1 AGC */
Expand Down Expand Up @@ -1553,7 +1553,7 @@ static enum dvbfe_search stb0899_search(struct dvb_frontend *fe, struct dvbfe_pa
internal->srch_range = SearchRange;

if (state->config->tuner_set_bandwidth)
state->config->tuner_set_bandwidth(fe, (stb0899_carr_width(state) + 10000000));
state->config->tuner_set_bandwidth(fe, (135 * (stb0899_carr_width(state) + SearchRange)) / 100);
if (state->config->tuner_get_bandwidth)
state->config->tuner_get_bandwidth(fe, &internal->tuner_bw);

Expand Down

0 comments on commit b45968f

Please sign in to comment.