From 1cdc4f09eb41e4fd22e17ded943ebdb08050a2ed Mon Sep 17 00:00:00 2001 From: Abylay Ospan Date: Thu, 12 May 2016 00:02:04 -0300 Subject: [PATCH] [media] fix DVB-S/S2 tuning Fixed HELENE tuner frequency calculation Signed-off-by: Abylay Ospan Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/helene.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2