Message ID | 20180902131411.183978-35-alexander.levin@microsoft.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp1475149ljw; Sun, 2 Sep 2018 06:15:35 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbrZDGwcs7SyrepUqsyWmigIoVWH3kVrcinKRTeAt/pp1PUFJmcMmCsc7e4iE1/OK10tapJ X-Received: by 2002:a63:790b:: with SMTP id u11-v6mr22423345pgc.111.1535894135549; Sun, 02 Sep 2018 06:15:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535894135; cv=none; d=google.com; s=arc-20160816; b=UobIfXze8Szs6newBcB6YZVni2kCPqfoO02tQChV07KGfovJ5yBcEivRNWMNpRfu33 bRn+xpIzzNol5uDJ+wEG/dtKGy3paMS5khlLC2KRBodotR6FEZ0FvCw1xZWu+ILkLmQC Adl5WKoMTOVMZvNCtZT/qgmdmtCp6ebI8Q8xoYPBYoHukOcY/MHklPKNI1vtG+5xe8EH jMqgf8/O9aQanm/dS/NToFHXTaMkpLdc+PMu01VLuK3voyIaH4mqtT2/rLtNqZP/q4IU NRhnri8Gw717RO6GaNdMuNlYfmnFdO4rp1nwDvEYFyLO1JXtvFGHOv4DJ7ggdJ9bQUDE 1ykQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=vd9vzpMn9KTHOi4oCjxXOP68YfSuqu1rHf7R0OA5ttQ=; b=AY9nhdHLTjfYII4GwATypqTLzhgOuK6TfiMYczkRF04QodDCmuCFw4I305ZVp564OD TuXKGtUmhYVsqGCMhEKpn/IstyudlSFb/I87IP66So3xwJzuwGzWMmcm9F0eyoqKn5LP sUuttrE/e16AUHKYU3v/+M3wCKxjvfBcpKqjxjp4NJZ2Bqie10RZ1uypWRwZY540DuGS JBo6pU9PnjkqnxPvRSzqWOu860ZcN1yH0YmV44i+g6QCPm4s0v4rzKRFRKi0A3VFvPjl lXKa6uZ7tixspOfPPSl9Fg06sCHyDPTgCzFnL20/SrtPzCWXHC+vWVusAQ2oGIGzsNDL Ua/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=RMSR3kty; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: <stable-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u91-v6si15334715plb.73.2018.09.02.06.15.35; Sun, 02 Sep 2018 06:15:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=RMSR3kty; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729513AbeIBRbV (ORCPT <rfc822;ruslan.trofymenko@linaro.org> + 13 others); Sun, 2 Sep 2018 13:31:21 -0400 Received: from mail-co1nam03on0122.outbound.protection.outlook.com ([104.47.40.122]:34400 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729522AbeIBRbT (ORCPT <rfc822;stable@vger.kernel.org>); Sun, 2 Sep 2018 13:31:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vd9vzpMn9KTHOi4oCjxXOP68YfSuqu1rHf7R0OA5ttQ=; b=RMSR3ktyFPuZGoWJzM1gH1wiKqvl3I0aMBL17BD8ZE/shQpXkZZ8I6PkUbLThf+dyRJvQieiFZ+J9bq/4KoMz/JZulihKELRADvfwPLM47+rUmxNEK5p4c9fPnw/crxj5dnFooOoBKXo42hKsb8kgfBSnFzES/HIaJ7zGpgk4ac= Received: from CY4PR21MB0776.namprd21.prod.outlook.com (10.173.192.22) by CY4PR21MB0741.namprd21.prod.outlook.com (10.173.189.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1122.2; Sun, 2 Sep 2018 13:15:28 +0000 Received: from CY4PR21MB0776.namprd21.prod.outlook.com ([fe80::7c3a:eea8:1391:1611]) by CY4PR21MB0776.namprd21.prod.outlook.com ([fe80::7c3a:eea8:1391:1611%7]) with mapi id 15.20.1143.000; Sun, 2 Sep 2018 13:15:28 +0000 From: Sasha Levin <Alexander.Levin@microsoft.com> To: "stable@vger.kernel.org" <stable@vger.kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org> CC: Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com>, Mauro Carvalho Chehab <mchehab+samsung@kernel.org>, Sasha Levin <Alexander.Levin@microsoft.com> Subject: [PATCH AUTOSEL 4.9 45/62] media: helene: fix xtal frequency setting at power on Thread-Topic: [PATCH AUTOSEL 4.9 45/62] media: helene: fix xtal frequency setting at power on Thread-Index: AQHUQr7z9Km8JPykyUih+2ruXP6ilQ== Date: Sun, 2 Sep 2018 13:14:59 +0000 Message-ID: <20180902131411.183978-35-alexander.levin@microsoft.com> References: <20180902131411.183978-1-alexander.levin@microsoft.com> In-Reply-To: <20180902131411.183978-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CY4PR21MB0741; 6:2so1ebVnvE2HljVn4IxKfqxmpZKUZvMpn/3qukTBFAXYwFiFlN1BQ4v8LEAPG0AwmWO/AMR8ZNA4dbDi47c2LKbvFCcZvu1/7sPUeTRfTOPEiBS6MgN0+moUbpfvSOg58RkqlnIypIoPRhI89S1HDvEAa7do6iYmZYWWgHuioc4hKNoD6Mq9N4BSiVGZkO0mGYny6RrA/coNjnX3HmxMeAoi+8Epeq1ql7g7tux4Q2lf7i9OI+ot68EMeUCx+etBBjH3lSxalEa/rq+C3JK0DWxaAyKFfEe8NJlvRK9WyCvcq1NNSFTcYxFcPti16GCZSWuHIRstjYS+bR9fS8mueoNu2EnCn/jQ8vYZSu/JpRL6cL7sEciEqB5fymefMOIEjWDFjFsTUgj7kapw4wN9MHTfvxErAEi/fs0YcTq0C9l8lhpJB5iBR5fJeemHp+rIpDhl2r4dGiLdn0zNf/7XXA==; 5:oEv0rtBiKA9DpVrF981V5/zr8fSmdfbYai4sZmMQu34BhQX+grmXeQi+PnAQ8OHSPew26KtAla9mACcNw0FYyeIMjWu1hLlX87AU70KszL8NhhJmUzBzAGLaT0+Pe3ciyeq71jkw6sYSbXcKCm/6fs+MAoK4kU/eenfCUEaoLaM=; 7:AXD2fjemFvjYSqZFsw2b28ktlAwVhcsrXDXFzxEB470iB1fDOGLDoTqX4NB8+SON1TJFNLFmVvNbdDF1qqIH/2Aq5ZIo1Fb3z3gxAWgwVMN7e6R4uFicelTUAQEOXaajemC2BSDvCLPiGfMscuOz7yOfVvfx7limEJ2qs7V8W6i/bzMPipj5L2jnCjh7xgntfgjk1pmXzE3Ppi/20r6rz4VyC7tu4+0iWzrB+V2OM4vYXwutse6WOiMyzHaBpVNO x-ms-office365-filtering-correlation-id: 64763895-24e2-4f22-cf2c-08d610d62731 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(4534165)(4627221)(201703031133081)(201702281549075)(5600074)(711020)(4618075)(2017052603328)(7193020); SRVR:CY4PR21MB0741; x-ms-traffictypediagnostic: CY4PR21MB0741: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-prvs: <CY4PR21MB074118BBA427D14BD2294A08FB0D0@CY4PR21MB0741.namprd21.prod.outlook.com> x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3231340)(944501410)(52105095)(2018427008)(3002001)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(20161123564045)(20161123560045)(201708071742011)(7699049)(76991033); SRVR:CY4PR21MB0741; BCL:0; PCL:0; RULEID:; SRVR:CY4PR21MB0741; x-forefront-prvs: 078310077C x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(366004)(39860400002)(136003)(346002)(396003)(376002)(199004)(189003)(97736004)(2906002)(186003)(26005)(256004)(4477795004)(14444005)(102836004)(11346002)(25786009)(476003)(486006)(2616005)(446003)(305945005)(66066001)(5250100002)(2501003)(7736002)(6506007)(8676002)(68736007)(76176011)(6666003)(99286004)(6486002)(105586002)(81156014)(81166006)(53936002)(5660300001)(22452003)(478600001)(6436002)(86362001)(14454004)(54906003)(36756003)(106356001)(110136005)(6512007)(4326008)(107886003)(217873002)(3846002)(2900100001)(316002)(8936002)(1076002)(10090500001)(6116002)(72206003)(86612001)(10290500003); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR21MB0741; H:CY4PR21MB0776.namprd21.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: SYNyDQJDUe5ZakUEoqPYXkb7BhrV4Z5tNKqrBnKGS4+rSUN5pvCpdwUUGzRHiN3/joyyI7DK2PLOhEpRlkgTm19Dsq2bDP1KkRpYko0POZCwJP1dfL9WE4szUPPkAgThHcy2FmG1P3UpO+enEQjGUdIFubo57eUaIUrRXLPSENWlHI03D0MaP+zzy6EwUahd/Cqw4OJt+AD3pKXW2AM0N4FwEocjrd5PdRIw7cYYmjLPH6JDlFQwFCyQTHPGM09TbOn7QFkYKlA8hLJWnccfb1IAeZ0BKtJgxGbyPuLrCZuFRrzX9pVNI0ydTFtl8RgHYI5W0BbBiYaeOQynnDuWPCPvbV1ikv5G4cV0MYUyZEg= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 64763895-24e2-4f22-cf2c-08d610d62731 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Sep 2018 13:14:59.7677 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR21MB0741 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/drivers/media/dvb-frontends/helene.c b/drivers/media/dvb-frontends/helene.c index e06bcd4b3ddc..800f386f1f3f 100644 --- a/drivers/media/dvb-frontends/helene.c +++ b/drivers/media/dvb-frontends/helene.c @@ -898,7 +898,10 @@ static int helene_x_pon(struct helene_priv *priv) helene_write_regs(priv, 0x99, cdata, sizeof(cdata)); /* 0x81 - 0x94 */ - data[0] = 0x18; /* xtal 24 MHz */ + if (priv->xtal == SONY_HELENE_XTAL_16000) + data[0] = 0x10; /* xtal 16 MHz */ + else + data[0] = 0x18; /* xtal 24 MHz */ data[1] = (uint8_t)(0x80 | (0x04 & 0x1F)); /* 4 x 25 = 100uA */ data[2] = (uint8_t)(0x80 | (0x26 & 0x7F)); /* 38 x 0.25 = 9.5pF */ data[3] = 0x80; /* REFOUT signal output 500mVpp */