[media] drxk: Fix get_tune_settings for DVB-T
authorJose Alberto Reguero <jareguero@telefonica.net>
Fri, 27 Jan 2012 21:34:49 +0000 (18:34 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 8 Feb 2012 12:52:27 +0000 (10:52 -0200)
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>
drivers/media/dvb/frontends/drxk_hard.c

index 47bf16d..36d1175 100644 (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;
        }
 }