[media] fix DVB-S/S2 tuning
authorAbylay Ospan <aospan@netup.ru>
Thu, 12 May 2016 03:02:04 +0000 (00:02 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 7 Jun 2016 15:14:19 +0000 (12:14 -0300)
Fixed HELENE tuner frequency calculation

Signed-off-by: Abylay Ospan <aospan@netup.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/helene.c

index 98099db..f385ebd 100644 (file)
@@ -522,7 +522,7 @@ static int helene_set_params_s(struct dvb_frontend *fe)
        enum helene_tv_system_t tv_system;
        struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        struct helene_priv *priv = fe->tuner_priv;
-       int frequencykHz = p->frequency / 1000;
+       int frequencykHz = p->frequency;
        uint32_t frequency4kHz = 0;
        u32 symbol_rate = p->symbol_rate/1000;