[media] drxk: Fix get_tune_settings for DVB-T

DVB-T also use step_size=0.

Signed-off-by: Jose Alberto Reguero <jareguero@telefonica.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Jose Alberto Reguero 2012-01-27 18:34:49 -03:00 committed by Mauro Carvalho Chehab
parent 6d73d072fc
commit dc66d7f455
1 changed files with 1 additions and 4 deletions

View File

@ -6316,15 +6316,12 @@ static int drxk_get_tune_settings(struct dvb_frontend *fe, struct dvb_frontend_t
switch (p->delivery_system) {
case SYS_DVBC_ANNEX_A:
case SYS_DVBC_ANNEX_C:
case SYS_DVBT:
sets->min_delay_ms = 3000;
sets->max_drift = 0;
sets->step_size = 0;
return 0;
default:
/*
* For DVB-T, let it use the default DVB core way, that is:
* fepriv->step_size = fe->ops.info.frequency_stepsize * 2
*/
return -EINVAL;
}
}