Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 124089
b: refs/heads/master
c: 763fbaf
h: refs/heads/master
i:
  124087: 128141f
v: v3
  • Loading branch information
Manu Abraham authored and Mauro Carvalho Chehab committed Dec 29, 2008
1 parent 7be32ed commit 0e41d90
Show file tree
Hide file tree
Showing 3 changed files with 4 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: 27a330d1240ffeaca8c7cf2a2eb6a5fbeef3c4ec
refs/heads/master: 763fbaf65a3f7fd571db427a376e727faeb5bfc5
5 changes: 2 additions & 3 deletions trunk/drivers/media/dvb/frontends/stb0899_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -1554,8 +1554,7 @@ 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 = 10000000;
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 @@ -1626,7 +1625,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, (135 * (stb0899_carr_width(state) + SearchRange)) / 100);
state->config->tuner_set_bandwidth(fe, (stb0899_carr_width(state) + SearchRange));
if (state->config->tuner_get_bandwidth)
state->config->tuner_get_bandwidth(fe, &internal->tuner_bw);

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/dvb/frontends/stb6100.c
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ static int stb6100_set_bandwidth(struct dvb_frontend *fe, u32 bandwidth)

dprintk(verbose, FE_DEBUG, 1, "set bandwidth to %u kHz", bandwidth);

bandwidth *= 1000 / 2; /* kHz -> Hz, bw / 2 */
bandwidth /= 2; /* ZIF */

if (bandwidth > 36000000) /* F[4:0] BW/2 max =31+5=36 mhz for F=31 */
tmp = 31;
Expand Down

0 comments on commit 0e41d90

Please sign in to comment.