From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751665AbeEQA54 convert rfc822-to-8bit (ORCPT ); Wed, 16 May 2018 20:57:56 -0400 Received: from mx.socionext.com ([202.248.49.38]:17540 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751290AbeEQA5z (ORCPT ); Wed, 16 May 2018 20:57:55 -0400 From: "Katsuhiro Suzuki" To: "'Abylay Ospan'" , =?utf-8?B?U3V6dWtpLCBLYXRzdWhpcm8v6Yi05pyoIOWLneWNmg==?= Cc: "Mauro Carvalho Chehab" , "linux-media" , "Masami Hiramatsu" , "Jassi Brar" , , References: <20180516084111.28618-1-suzuki.katsuhiro@socionext.com> In-Reply-To: Subject: Re: [PATCH] media: helene: fix tuning frequency of satellite Date: Thu, 17 May 2018 09:57:50 +0900 Message-ID: <000601d3ed7a$145a94b0$3d0fbe10$@socionext.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8BIT X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQHT7PGl7tKKohr1DUO9vcZ/b7rAcKQxmCgAgAGAn1A= Content-Language: ja x-securitypolicycheck: OK by SHieldMailChecker v2.5.2 x-shieldmailcheckerpolicyversion: POLICY180220 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Abylay, > -----Original Message----- > From: Abylay Ospan > Sent: Wednesday, May 16, 2018 7:56 PM > To: Suzuki, Katsuhiro/鈴木 勝博 > Cc: Mauro Carvalho Chehab ; linux-media > ; Masami Hiramatsu ; > Jassi Brar ; linux-arm-kernel@lists.infradead.org; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH] media: helene: fix tuning frequency of satellite > > True. > I'm curious but how did it worked before ... > Which hardware (dvb adapter) are you using ? > I'm using evaluation boards of my company. So it's not exist in market... Tuner module is SONY SUT-PJ series for ISDB-S/ISDB-T (not for DVB). Regards, -- Katsuhiro Suzuki > 2018-05-16 4:41 GMT-04:00 Katsuhiro Suzuki >: > > > This patch fixes tuning frequency of satellite to kHz. That as same > as terrestrial one. > > Signed-off-by: Katsuhiro Suzuki > > --- > 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 04033f0c278b..0a4f312c4368 100644 > --- a/drivers/media/dvb-frontends/helene.c > +++ b/drivers/media/dvb-frontends/helene.c > @@ -523,7 +523,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; > + int frequencykHz = p->frequency / 1000; > uint32_t frequency4kHz = 0; > u32 symbol_rate = p->symbol_rate/1000; > > -- > 2.17.0 > > > > > > > -- > > Abylay Ospan, > NetUP Inc. > http://www.netup.tv