diff options
-rw-r--r-- | linux/drivers/media/dvb/frontends/mt352.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/linux/drivers/media/dvb/frontends/mt352.c b/linux/drivers/media/dvb/frontends/mt352.c index 5f957db81..21079b606 100644 --- a/linux/drivers/media/dvb/frontends/mt352.c +++ b/linux/drivers/media/dvb/frontends/mt352.c @@ -521,9 +521,7 @@ static int mt352_ioctl (struct dvb_frontend *fe, unsigned int cmd, void *arg) u8 r,snr; fe_status_t *status; u16 signal; -#ifdef FE_GET_TUNE_SETTINGS - struct dvb_frontend_tune_settings* fe_tune_settings; -#endif + struct dvb_frontend_tune_settings *fe_tune_settings; switch (cmd) { case FE_GET_INFO: @@ -581,13 +579,12 @@ static int mt352_ioctl (struct dvb_frontend *fe, unsigned int cmd, void *arg) return mt352_get_parameters (i2c, (struct dvb_frontend_parameters *) arg,card_type); -#ifdef FE_GET_TUNE_SETTINGS case FE_GET_TUNE_SETTINGS: - fe_tune_settings = (struct dvb_frontend_tune_settings*) arg; - fe_tune_settings->min_delay_ms = 50; - fe_tune_settings->step_size = mt352_info.frequency_stepsize; - fe_tune_settings->max_drift = mt352_info.frequency_stepsize*2; -#endif + fe_tune_settings = (struct dvb_frontend_tune_settings *) arg; + fe_tune_settings->min_delay_ms = 800; + fe_tune_settings->step_size = 0; + fe_tune_settings->max_drift = 0; + break; case FE_SLEEP: return mt352_sleep(i2c); |