Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 124108
b: refs/heads/master
c: b91a7cb
h: refs/heads/master
v: v3
  • Loading branch information
Manu Abraham authored and Mauro Carvalho Chehab committed Dec 29, 2008
1 parent f895206 commit ba129ad
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 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: ef3052bc9805ad74d21b5ac91647a8fecde1d96a
refs/heads/master: b91a7cb026124951a34e41f8481f1a4fb754983e
5 changes: 3 additions & 2 deletions trunk/drivers/media/dvb/frontends/stb0899_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -1534,6 +1534,7 @@ static enum dvbfe_search stb0899_search(struct dvb_frontend *fe, struct dvbfe_pa
struct stb0899_state *state = fe->demodulator_priv;
struct stb0899_params *i_params = &state->params;
struct stb0899_internal *internal = &state->internal;
struct stb0899_config *config = state->config;

u32 SearchRange, gain;

Expand Down Expand Up @@ -1575,9 +1576,9 @@ static enum dvbfe_search stb0899_search(struct dvb_frontend *fe, struct dvbfe_pa
}

if (i_params->srate <= 5000000)
stb0899_set_mclk(state, 76500000);
stb0899_set_mclk(state, config->lo_clk);
else
stb0899_set_mclk(state, 99000000);
stb0899_set_mclk(state, config->hi_clk);

switch (state->delsys) {
case DVBFE_DELSYS_DVBS:
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/media/dvb/frontends/stb0899_drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ struct stb0899_config {
u8 out_rate_comp;
u8 i2c_repeater;
// int inversion;
int lo_clk;
int hi_clk;

u32 esno_ave;
u32 esno_quant;
Expand Down
3 changes: 3 additions & 0 deletions trunk/drivers/media/dvb/ttpci/budget-av.c
Original file line number Diff line number Diff line change
Expand Up @@ -1127,6 +1127,9 @@ static struct stb0899_config knc1_dvbs2_config = {
.xtal_freq = 27000000,
.inversion = IQ_SWAP_OFF, /* 1 */

.lo_clk = 76500000,
.hi_clk = 90000000,

.esno_ave = STB0899_DVBS2_ESNO_AVE,
.esno_quant = STB0899_DVBS2_ESNO_QUANT,
.avframes_coarse = STB0899_DVBS2_AVFRAMES_COARSE,
Expand Down
3 changes: 3 additions & 0 deletions trunk/drivers/media/dvb/ttpci/budget-ci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1312,6 +1312,9 @@ static struct stb0899_config tt3200_config = {
.xtal_freq = 27000000,
.inversion = IQ_SWAP_ON, /* 1 */

.lo_clk = 76500000,
.hi_clk = 99000000,

.esno_ave = STB0899_DVBS2_ESNO_AVE,
.esno_quant = STB0899_DVBS2_ESNO_QUANT,
.avframes_coarse = STB0899_DVBS2_AVFRAMES_COARSE,
Expand Down

0 comments on commit ba129ad

Please sign in to comment.