From: Abylay Ospan Date: Thu, 12 May 2016 03:02:04 +0000 (-0300) Subject: [media] fix DVB-S/S2 tuning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1cdc4f09eb41e4fd22e17ded943ebdb08050a2ed;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [media] fix DVB-S/S2 tuning Fixed HELENE tuner frequency calculation Signed-off-by: Abylay Ospan Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb-frontends/helene.c b/drivers/media/dvb-frontends/helene.c index 98099db12d67..f385ebd2e7a7 100644 --- a/drivers/media/dvb-frontends/helene.c +++ b/drivers/media/dvb-frontends/helene.c @@ -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;