mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
stv0910: IF->iffreq
This commit is contained in:
parent
743f7707c7
commit
7393ed841a
@ -1233,14 +1233,14 @@ static int set_parameters(struct dvb_frontend *fe)
|
|||||||
{
|
{
|
||||||
int stat = 0;
|
int stat = 0;
|
||||||
struct stv *state = fe->demodulator_priv;
|
struct stv *state = fe->demodulator_priv;
|
||||||
u32 IF;
|
u32 iffreq;
|
||||||
struct dtv_frontend_properties *p = &fe->dtv_property_cache;
|
struct dtv_frontend_properties *p = &fe->dtv_property_cache;
|
||||||
|
|
||||||
stop(state);
|
stop(state);
|
||||||
if (fe->ops.tuner_ops.set_params)
|
if (fe->ops.tuner_ops.set_params)
|
||||||
fe->ops.tuner_ops.set_params(fe);
|
fe->ops.tuner_ops.set_params(fe);
|
||||||
if (fe->ops.tuner_ops.get_if_frequency)
|
if (fe->ops.tuner_ops.get_if_frequency)
|
||||||
fe->ops.tuner_ops.get_if_frequency(fe, &IF);
|
fe->ops.tuner_ops.get_if_frequency(fe, &iffreq);
|
||||||
state->symbol_rate = p->symbol_rate;
|
state->symbol_rate = p->symbol_rate;
|
||||||
stat = start(state, p);
|
stat = start(state, p);
|
||||||
return stat;
|
return stat;
|
||||||
|
Loading…
Reference in New Issue
Block a user