summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/frontends/drxk_hard.c
diff options
context:
space:
mode:
authorJose Alberto Reguero <jareguero@telefonica.net>2012-01-27 21:34:49 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-02-08 12:52:27 (GMT)
commitdc66d7f455988310ce2dbd4a0df23af2e5626a89 (patch)
tree90428987a8335c8bf82eb0c1b00024d43385e229 /drivers/media/dvb/frontends/drxk_hard.c
parent6d73d072fce26567a0e3da5eb86499de9142ffc1 (diff)
downloadlinux-fsl-qoriq-dc66d7f455988310ce2dbd4a0df23af2e5626a89.tar.xz
[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>
Diffstat (limited to 'drivers/media/dvb/frontends/drxk_hard.c')
-rw-r--r--drivers/media/dvb/frontends/drxk_hard.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/media/dvb/frontends/drxk_hard.c b/drivers/media/dvb/frontends/drxk_hard.c
index 47bf16d..36d1175 100644
--- a/drivers/media/dvb/frontends/drxk_hard.c
+++ b/drivers/media/dvb/frontends/drxk_hard.c
@@ -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;
}
}