diff options
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/dvb/frontends/stv0297.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/frontends/stv0297.c b/linux/drivers/media/dvb/frontends/stv0297.c index 647a63e6c..a15e658ad 100644 --- a/linux/drivers/media/dvb/frontends/stv0297.c +++ b/linux/drivers/media/dvb/frontends/stv0297.c @@ -508,7 +508,7 @@ static int stv0297_set_frontend(struct dvb_frontend *fe, struct dvb_frontend_par // determine inversion dependant parameters inversion = p->inversion; - if (fe->config->invert) + if (state->config->invert) inversion = (inversion == INVERSION_ON) ? INVERSION_OFF : INVERSION_ON; carrieroffset = -330; switch (inversion) { @@ -685,7 +685,7 @@ static int stv0297_get_frontend(struct dvb_frontend *fe, struct dvb_frontend_par p->frequency = state->base_freq + state->freq_off; p->inversion = (reg_83 & 0x08) ? INVERSION_ON : INVERSION_OFF; - if (fe->config->invert) + if (state->config->invert) p->inversion = (p->inversion == INVERSION_ON) ? INVERSION_OFF : INVERSION_ON; p->u.qam.symbol_rate = 0; p->u.qam.fec_inner = 0; |