From patchwork Tue May 29 01:06:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Katsuhiro Suzuki X-Patchwork-Id: 137112 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3436804lji; Mon, 28 May 2018 18:07:11 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqcsU41FVySQHR38+MBFRjglWhqsw3F10EsMNEsgmVftps727r0SuMeMSBE2NB8j/04eEUK X-Received: by 2002:a62:e107:: with SMTP id q7-v6mr15290507pfh.226.1527556031074; Mon, 28 May 2018 18:07:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527556031; cv=none; d=google.com; s=arc-20160816; b=v7PffLvoSXbiPP4w/Oq1cEZT5pVGNhOb2bswk8hHqo6iGZacjobMR/zN3RvlTPnD88 03/LKkllkcQRNM+lNU3xc0yv43IolvZPvbz5VaeWREo6hZ1pBBFw8FJua2md3wi1A7Ru qFWMBEV21yoBXwDMSRBUuxnsQmQRcNKa8kWF749ymAMl6S1PIQqxNH3HCyjElUundgfg Ytc1oojJt0RhIo3fbSqbBBStC8v3dgJbRToBRkWA6MqnW97TEk9WKumFzJBB9awP6ncO X16YcqleqVfc7Fi4Pze2E1gV7t4zjSILufq/zEhGeActyl5C/FbkkKam0VfrR8GyXsKg S0ZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=ATCaHrKVIm2JHFiGQqnEBm/AyFcJueihXWmN2dRLknY=; b=EhiiCk2YJlUJMH3KXFDkWEytS2Z6fArlKBeRPJRf6pKjup2WcuHfhQX6t2/UkBB9oP 3GbnsUoxNJhFgW4MKnTNIte2+99v79N9f9Qm5H8z2GStE35hWNXqlzFLEA4zwal0ml6I enAnwjDUCu2G0axQ61dwHyw73N9Jmr8oMNGEbFvbwziBr/Jn4CFsoVvGnpBi5LJo/+ZB PmVy48dVLNjddFg6p9NsN0yLdL/d4dCty6yw6dn1Oa+c27qLdZvynyIFAcRKQdnCEbHm QLTSrrV/dVeEmHhNRsS5jS0UiEmouFZe0q2HcPGe4YFHETSNXk7N6U2mR/eJpXtoKZSv LgRw== 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 f91-v6si31685625plb.510.2018.05.28.18.07.10; Mon, 28 May 2018 18:07:11 -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 S1755918AbeE2BHC (ORCPT + 30 others); Mon, 28 May 2018 21:07:02 -0400 Received: from mx.socionext.com ([202.248.49.38]:11280 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755808AbeE2BG6 (ORCPT ); Mon, 28 May 2018 21:06:58 -0400 Received: from unknown (HELO iyokan-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 29 May 2018 10:06:56 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id DA38D6006F; Tue, 29 May 2018 10:06:56 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 29 May 2018 10:06:56 +0900 Received: from yuzu.css.socionext.com (yuzu [172.31.8.45]) by kinkan.css.socionext.com (Postfix) with ESMTP id 93A891A01BD; Tue, 29 May 2018 10:06:56 +0900 (JST) Received: from aegis.e01.socionext.com (unknown [10.213.134.210]) by yuzu.css.socionext.com (Postfix) with ESMTP id 58CB612013B; Tue, 29 May 2018 10:06:56 +0900 (JST) From: Katsuhiro Suzuki To: Abylay Ospan , Mauro Carvalho Chehab , linux-media@vger.kernel.org Cc: Masami Hiramatsu , Jassi Brar , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Katsuhiro Suzuki Subject: [RESEND PATCH] media: helene: fix tuning frequency of satellite Date: Tue, 29 May 2018 10:06:40 +0900 Message-Id: <20180529010640.18604-1-suzuki.katsuhiro@socionext.com> X-Mailer: git-send-email 2.17.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.17.0 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;