Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp366496imm; Thu, 31 May 2018 01:43:53 -0700 (PDT) X-Google-Smtp-Source: ADUXVKI1z7T9rtazXD6DW9BNI2A4p+fjmZTj8Xhj9qygS8XNQU+34ACHsRw4f+LDT0jVtPlbpx4t X-Received: by 2002:a65:4107:: with SMTP id w7-v6mr4711331pgp.90.1527756233582; Thu, 31 May 2018 01:43:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527756233; cv=none; d=google.com; s=arc-20160816; b=XTtpFXTvS5IVe4JjNVkoBjO9MRIHBy22ReQejqhTX3MWzlxjYNUkbYjgUl62U8DfKk IUZDElnEY6jNYXUmsRsSc0UwVbjKNy53sKcoKoCr3KXQDwIVQRwhNXaIJ0yO6iyWm3Rj m/pGV7lILhxCNDEViJdme2q57KzUuUPBUP9L1VFrv1+SkeD9XNO1hc/r89IEkZYNrGCo pECaqzwjLz0xxouaYbfXaWkfz+aA637xX0mYdtnAEz59/M64uT5SsyLQ1JXB5Fp/Ndi6 /RMEiYWBuvv8yDXtaCCCvmvIb7/KzRkUXzZvqS+HKvJ6qv4E9K8xjN17H1E8yCpWutN2 YMiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language:thread-index :content-transfer-encoding:mime-version:message-id:date:subject :in-reply-to:references:cc:to:from:arc-authentication-results; bh=zm+GXLjvhPYfbFbK6YUIUiD9RLEaC1VwqAZz8ZsDIvE=; b=J1/eq819G3txiyoHfuqscej4CZr53vDLrfe2/pEByozXfXdWEsIGf2fGh49WC9WeMU I3Eck6flTu66gbAgCKTst6WN1frLkXf3w8Hzz1NMhOOzFc+51GWRAYAqNkjQ1XToW26g AvsnTBlcA1fJyuqb8MsXDnSMVlBMl0/+8O0KRJRP7FMv9cASRLd020LcuDfZN6k/y9Gf MS/cmKwwphsFGudhk1XzxHJBy/8TLYDDr7zNZh9+fCGbay7AgHtbwwQ32IKRDsowjS0f P3LFjcH1vGqkLk4LehmVjkm6kzsembLrg+TOSHJLBAbuNqyA0ncxDrI3invqupcE428V ofUA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t9-v6si1738306pgn.559.2018.05.31.01.43.39; Thu, 31 May 2018 01:43:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754206AbeEaInL convert rfc822-to-8bit (ORCPT + 99 others); Thu, 31 May 2018 04:43:11 -0400 Received: from mx.socionext.com ([202.248.49.38]:51131 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754184AbeEaInH (ORCPT ); Thu, 31 May 2018 04:43:07 -0400 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 31 May 2018 17:43:06 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id 3D01E1800A2; Thu, 31 May 2018 17:43:06 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Thu, 31 May 2018 17:43:06 +0900 Received: from yuzu.css.socionext.com (yuzu [172.31.8.45]) by kinkan.css.socionext.com (Postfix) with ESMTP id 7E9CC1A1D7D; Thu, 31 May 2018 17:43:05 +0900 (JST) Received: from DESKTOPFLNNJ4T (unknown [10.213.132.95]) by yuzu.css.socionext.com (Postfix) with ESMTP id 2E41F120139; Thu, 31 May 2018 17:43:05 +0900 (JST) 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, 31 May 2018 17:43:01 +0900 Message-ID: <004201d3f8bb$629d38c0$27d7aa40$@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/b7rAcKQxmM6AgBgC1aA= Content-Language: ja x-securitypolicycheck: OK by SHieldMailChecker v2.5.2 x-shieldmailcheckerpolicyversion: POLICY180220 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Abylay, I got a mistake in this patch. DTV_FREQUENCY for satellite delivery systems, the frequency is in 'kHz' not 'Hz', so original code is correct. Sorry for confusing... Regards, -- Katsuhiro Suzuki > -----Original Message----- > From: Abylay Ospan > Sent: Wednesday, May 16, 2018 7:58 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 ? > > 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