[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>
This commit is contained in:
Abylay Ospan 2016-05-12 00:02:04 -03:00 committed by Mauro Carvalho Chehab
parent 76344a3fc5
commit 1cdc4f09eb
1 changed files with 1 additions and 1 deletions

View File

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