Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2684275imm; Wed, 16 May 2018 17:58:23 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp8IExK8QV0MEU4hKSozIxmFDmX2uNIN7E5CsVJ7+7dB9+m3T9kmf9EVGzUzeTF1h1aV+Dx X-Received: by 2002:a62:3bcb:: with SMTP id w72-v6mr3114033pfj.129.1526518703275; Wed, 16 May 2018 17:58:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526518703; cv=none; d=google.com; s=arc-20160816; b=OCXCGsiuOaM+NDrmHFknuwPfYfLWWnIB6xbWpFhBcuWsSGBZpu8IVpuNCfra7KlEKS +0dhBV9dHJnJYdv2xZp/D6j/bug4OF5wgECKKKKgBPZYrYaiI3U4hgO8XVivi5URj7hy vVwUCUksgWiAIRCl6VvChi0BxQoM6Yr0YTa37EKRElXLbX7hq8swe0dCusxSzgirhp6t GrY3veNBQK0L00gnQwtOq/xXHe+R5YgYCOnTVrzBHaLvDWJD3VHJRCmvtkUGTBnf1HsT 2jCDnYzNFmukKU+wkAqeJBzFzaFPALnCSyRp5kHcEZEZIxppNbqbmJiZd+PGSZciQLUS VVtw== 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=zHPwA7Km+wQuopudSBW+AugdfUEKsYBANHpQy3ntckE=; b=d530BWRs71pGlI28prHnLUF04CEcSaJixUkXkFVTopjqFsvALqwoqsDUuYe86BUT9t +i4Wz+gXK0y6apihVXh/x9LRsKV7Md2u0AZte6G0GdszD6Kn21r+LUydOpDQfmIRmx2N br1ZLwlIG/DCQt9Oi6v7H5KxgUtQggMiSuSNAtTInrQVo86fzS+Rj8hu5ESL/clJvKhs zsk8aaciztIgeJEbGqvTJYa+I1FNrBZGEfr05rK8rbJp+gFz6UAJUYrkqqYtqCOy34lS 1FJQM/aPvM3CexG1ry7pWzK89hPjqP3tIjPJrOMI8utpEAPGo3lEAaVULvYIsVh77So4 dbHA== 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 l139-v6si3904367pfd.51.2018.05.16.17.58.07; Wed, 16 May 2018 17:58:23 -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 S1751644AbeEQA54 convert rfc822-to-8bit (ORCPT + 99 others); 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 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 17 May 2018 09:57:53 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id 0205F1800ED; Thu, 17 May 2018 09:57:54 +0900 (JST) Received: from 172.31.9.53 (172.31.9.53) by m-FILTER with ESMTP; Thu, 17 May 2018 09:57:54 +0900 Received: from yuzu.css.socionext.com (yuzu [172.31.8.45]) by iyokan.css.socionext.com (Postfix) with ESMTP id CC2904039D; Thu, 17 May 2018 09:57:53 +0900 (JST) Received: from DESKTOPFLNNJ4T (unknown [10.213.132.95]) by yuzu.css.socionext.com (Postfix) with ESMTP id A0C7C120134; Thu, 17 May 2018 09:57:53 +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, 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 Precedence: bulk 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