add tsspeed override

This commit is contained in:
Ralph Metzler 2018-08-10 08:47:29 +02:00
parent 21f00bd922
commit bc2e1a39ff
2 changed files with 3 additions and 0 deletions

View File

@ -1854,6 +1854,8 @@ struct dvb_frontend *stv0910_attach(struct i2c_adapter *i2c,
state->tsgeneral = (cfg->parallel == 2) ? 0x02 : 0x00;
state->i2crpt = 0x0A | ((cfg->rptlvl & 0x07) << 4);
state->tsspeed = cfg->parallel ? 0x10 : 0x28;
if (cfg->tsspeed)
state->tsspeed = cfg->tsspeed;
state->nr = nr;
state->regoff = state->nr ? 0 : 0x200;
state->search_range = 16000000;

View File

@ -10,6 +10,7 @@ struct stv0910_cfg {
u8 parallel;
u8 rptlvl;
u8 single;
u8 tsspeed;
};
#if defined(CONFIG_DVB_STV0910) || \