aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbylay Ospan2016-05-12 00:02:04 -0300
committerMauro Carvalho Chehab2016-06-07 12:14:19 -0300
commit1cdc4f09eb41e4fd22e17ded943ebdb08050a2ed (patch)
tree136e62e68a93bbd76eaa96915e6c12ac41909e1d
parent76344a3fc54d04aaf71763a1428245c9e1d9a4ac (diff)
[media] fix DVB-S/S2 tuning
Fixed HELENE tuner frequency calculation Signed-off-by: Abylay Ospan <aospan@netup.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
-rw-r--r--drivers/media/dvb-frontends/helene.c2
1 files changed, 1 insertions, 1 deletions
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;