Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1708005imm; Wed, 16 May 2018 01:42:04 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrBqfn+lQctIrJ70DpK1NkX4kvGHjt7HT4xKVu770J1dHOVge81GtEsBi0pUix5CqpjxuQI X-Received: by 2002:a17:902:6b8b:: with SMTP id p11-v6mr17783387plk.212.1526460124936; Wed, 16 May 2018 01:42:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526460124; cv=none; d=google.com; s=arc-20160816; b=UkVHzdFhjzpoXr5TpN4ZBEbw4IpOwa706gw/DHg9ZEsA9uKT8JleTPBnR2SpTDKEuX GOSQeHSG0bhjSuPgVKUKMDkkQiQ6LAIxBSzLcttL/Cnp15s4KWGdf2trKqBON6cZOWAW 8KkDxKjzdrwm/AdVlmqWhcINuYWhZ6HQTQDRL4wRY/dA68oHZ7Vrtgn82lTEU18IBUcs n3FAm/tHeGQiumkVq+1/gJgP6oJZImRCTJXdvbrT6jX418hx/t0cxQvAD/bJjT1mDRDz H0v+ozvTQCNS/sKMMBVGP7x5cVHV5ZnRorQ12rF0ikApZwVxy3RlwV1InZ4rRjgthu8U fuEA== 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=F+N0Mr0w4ugdsEG7cC5qoe4dqoL1/sP7NtIc0rW8hgG/MCkeufkCDpXzW50hq3zrAu Gf3xcl8ptfTQvr42ktfX4qscur2QidxfGkwbLNQ229BMdeo/O5FhiIlstRPjMA5ZISQ/ +vwJBeyfP7MGp4ljKMiKr8bpNwes8btgvKMKNkVQEqllfKhXJ6WizaodAVZJ9E6Nc6EF 2pPfeIs5fzqKbqmxkh4WZQAbhwTCnC27Rgy7+5qHLrZYWbGI/Cfrh6Ca2h2dbvgsgcW2 VVWeRSwadEOVwYN0zTXfJttD4AkjIp73y0vDfKFBUleMCrKocZq0uVmqr5sLggsnEqAe qsYg== 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 m1-v6si1991296pls.70.2018.05.16.01.41.50; Wed, 16 May 2018 01:42:04 -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 S1752756AbeEPIlO (ORCPT + 99 others); Wed, 16 May 2018 04:41:14 -0400 Received: from mx.socionext.com ([202.248.49.38]:8654 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752574AbeEPIlN (ORCPT ); Wed, 16 May 2018 04:41:13 -0400 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 16 May 2018 17:41:12 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id 351761800E3; Wed, 16 May 2018 17:41:12 +0900 (JST) Received: from 172.31.9.53 (172.31.9.53) by m-FILTER with ESMTP; Wed, 16 May 2018 17:41:12 +0900 Received: from yuzu.css.socionext.com (yuzu [172.31.8.45]) by iyokan.css.socionext.com (Postfix) with ESMTP id C6B9D402D8; Wed, 16 May 2018 17:41:11 +0900 (JST) Received: from aegis.e01.socionext.com (unknown [10.213.134.210]) by yuzu.css.socionext.com (Postfix) with ESMTP id 9467C120134; Wed, 16 May 2018 17:41:11 +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: [PATCH] media: helene: fix tuning frequency of satellite Date: Wed, 16 May 2018 17:41:11 +0900 Message-Id: <20180516084111.28618-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(-) 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