From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 173F5C001DC for ; Mon, 31 Jul 2023 15:10:11 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 47877828; Mon, 31 Jul 2023 17:09:19 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 47877828 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1690816209; bh=guO8DiPcdrG7oKaE2H7j2eQcgPtH8+AfNTDxXisGiAI=; h=Date:From:To:CC:Subject:References:In-Reply-To:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=QcV8kb1G7cbUKFBj7R6V0h51leqIvIFKguto+5c+VNEC+rDVaXOvqLqLHc+9NGx7f uKH7TuNN1/CfV52XM6NecXU0TAQ4oxvItMnl2fBlF4Wrv1dBMprMa9d5bd8LFuP8dq c/8pilmsbnHTglpqFVmCZHcs+pW/3NlzFvemrWs0= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5CC3AF8016D; Mon, 31 Jul 2023 17:08:50 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 1327CF80149; Mon, 31 Jul 2023 17:08:50 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 3415BF8016D; Mon, 31 Jul 2023 17:08:45 +0200 (CEST) Received: from mx0b-001ae601.pphosted.com (mx0b-001ae601.pphosted.com [67.231.152.168]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id F1A23F80149 for ; Mon, 31 Jul 2023 17:08:33 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz F1A23F80149 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=cirrus.com header.i=@cirrus.com header.a=rsa-sha256 header.s=PODMain02222019 header.b=D3xsfZG5 Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 36VExLDl000923; Mon, 31 Jul 2023 10:08:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=PODMain02222019; bh=Ac1SzXAkYAowcCY 4X6xWPtA/gmE/RcwJtVjsYvKiiSc=; b=D3xsfZG5WJSWBscvz/9yVeYL9OKA4K1 8Rr3EZ6wjYBW0ZKBNUsiy0CmN5wsSTcVFQ2AIYkJ91n4visCi5AwdACbafocqexi JZ5vi8sCXQ3TjeopEnx0mIiuYpZaKfrM+jC7rwrB7aMds+XzVdEMvFhOkDGbWkFv niR5fX7BqB6QHBZ4odwIOI5O9uqnex5wA+L0PMC+XQXXGztJ60mxK/epHHLLScu5 UMmDAXrmWI6Ovba+y9W7yxh4k0temm26KEjoADHwH2z5cLPiVZwEJo2hMgFcIq8+ C25k2gfQ7gv07CJ/60Ib49yEMEIFTVzCPg3U1J8wckqFk8/DYQDqNZA== Received: from ediex02.ad.cirrus.com ([84.19.233.68]) by mx0b-001ae601.pphosted.com (PPS) with ESMTPS id 3s4y6jskrn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 31 Jul 2023 10:08:31 -0500 (CDT) Received: from ediex01.ad.cirrus.com (198.61.84.80) by ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Mon, 31 Jul 2023 16:08:30 +0100 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by ediex01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.2.1118.30 via Frontend Transport; Mon, 31 Jul 2023 16:08:30 +0100 Received: from ediswmail.ad.cirrus.com (ediswmail.ad.cirrus.com [198.61.86.93]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 0CC6445; Mon, 31 Jul 2023 15:08:30 +0000 (UTC) Date: Mon, 31 Jul 2023 15:08:30 +0000 From: Charles Keepax To: Mark Brown CC: Liam Girdwood , Jaroslav Kysela , Takashi Iwai , , , Subject: Re: [PATCH 1/2] ASoC: wm8960: Read initial MCLK rate from clock API Message-ID: <20230731150830.GN103419@ediswmail.ad.cirrus.com> References: <20230731-asoc-wm8960-clk-v1-0-69f9ffa2b10a@kernel.org> <20230731-asoc-wm8960-clk-v1-1-69f9ffa2b10a@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230731-asoc-wm8960-clk-v1-1-69f9ffa2b10a@kernel.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Proofpoint-GUID: OisnnALTvK6W1n0cbKjumNuL5kmGmgt- X-Proofpoint-ORIG-GUID: OisnnALTvK6W1n0cbKjumNuL5kmGmgt- X-Proofpoint-Spam-Reason: safe Message-ID-Hash: DSZDJPZBGWQNSF2OEPQ3BF7YERH3VBJ2 X-Message-ID-Hash: DSZDJPZBGWQNSF2OEPQ3BF7YERH3VBJ2 X-MailFrom: prvs=3576316b2c=ckeepax@opensource.cirrus.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Mon, Jul 31, 2023 at 11:47:02AM +0100, Mark Brown wrote: > When we have a MCLK provided by the clock API read the rate at startup > and store it so that there's something set before the machine driver has > done clocking configuration (eg, if it only configures clocking based on > sample rate). > > Signed-off-by: Mark Brown > --- Acked-by: Charles Keepax Thanks, Charles