Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1036793rdb; Tue, 19 Sep 2023 19:22:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHq6yTsGC9rX1U9eOiBt6O3aRMRg964O4trNxPI9ScygHf5wjBVbYkplM2nRtWnt6nfBzVg X-Received: by 2002:a05:6a21:33a4:b0:140:d536:d428 with SMTP id yy36-20020a056a2133a400b00140d536d428mr1485357pzb.51.1695176561407; Tue, 19 Sep 2023 19:22:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695176561; cv=none; d=google.com; s=arc-20160816; b=BZMwuh+42eYVNNsYmzrb4P4rPd7zU2YPqemB3D0BEdPI2OLL6dw5HAPLlHyE4BJfq8 4gGMXNyGBQMJWIBGu6jRbNm2FGoFfjRzyMUR8cTo71mCB/PUAh71+RSylINSF0YWWGSZ HPlo9bbvlsRDLRJ8WEDAcdpaFRcJpb0e3U2Lj4ZCAXA3dA9Caju/vomUVSp0fbw2lQmj WlrdouhP6jzZLPKNr0wAJtNqr89y8daEd+fqaaxOtYjjHRVizk99gWcVrRIB+TOLTqr6 zApFHx7Bua+ooxrMrMkEObxgqbgRBliCft/+ZyylBkZh84XVsspy66SpmMxjDQVv9m5o 4ROQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=SXnGouhKU9giKLop5w4uYodidnQQJlKtrkLKl4wy8BA=; fh=+/DzR/shtn859kA9twsgbLwV1z5MglYuHp6J65I2G0k=; b=cSn7dz2Lldj264VFIrsXRwRptSqAI+e00OoJQGJLwYRz7q0+hayJT+LmvZGxnQhW8o 3U8INarG8loDNRJcece7HnmHvQFHVxeZQrAgSvq9ROuKbHC8/8akojs4pMCTjNBSTL1I uvx3VZteoKFEQpNztHE7gSD2j1QsokFsY4j/vCcQ3FSSUQ+IC86OeR38vvh5s2Fjix83 iMMNZIxhB1uGGkv6+OLB5v0VLrpHVw1OGQAO9I2Gx3ccPohaDoLmc86sdozLmZ5HXYYO /2xpn6N0Q6rkyG0AgSSwwAGSxbhw6ZNuSopYi1P/K2VFHfjLNvFcRXFTlw5JxA3e5EkG nRdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b="DJ8z/cRm"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id ay6-20020a1709028b8600b001b89bab468esi10472026plb.107.2023.09.19.19.22.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 19:22:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b="DJ8z/cRm"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 0E8668114ECA; Mon, 18 Sep 2023 01:33:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233942AbjIRIcj (ORCPT + 99 others); Mon, 18 Sep 2023 04:32:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240859AbjIRIca (ORCPT ); Mon, 18 Sep 2023 04:32:30 -0400 Received: from mx0b-001ae601.pphosted.com (mx0a-001ae601.pphosted.com [67.231.149.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 690B794; Mon, 18 Sep 2023 01:32:24 -0700 (PDT) Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 38I4SDOo011029; Mon, 18 Sep 2023 03:31:42 -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=SXnGouhKU9giKLo p5w4uYodidnQQJlKtrkLKl4wy8BA=; b=DJ8z/cRmK0XPcVjFWnfxxb4h7xNx5xY XGuYWUtqjOcNKZ5lrTfHQvgk8eTeRXkDg8FcaPMgjSLDv75YCwoHeB+0iJUttp+Y fRCF289CBvj+zB4UnKmdoQJF9o61oK0t+6a4G0iTjmno2o+A4Do24vxwd/RzlIiT xfk1LKI5ig20plUSyzRmLr7qmmE1CWz/Dwy6mMz7tpUSF5xhQXD8HTZJmqFZmDnv tFmib55Hys2pTO7zjVfmUwqoseRwga50plyIyIn4oP/jq2xXjqAMnOkclJniGsQ7 1R7HK4r+D50Bds73QpWwbidneGfGvFlmn8OXzKN3nKHpZMst+smQhKg== Received: from ediex01.ad.cirrus.com ([84.19.233.68]) by mx0a-001ae601.pphosted.com (PPS) with ESMTPS id 3t59ry232k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 18 Sep 2023 03:31:42 -0500 (CDT) Received: from ediex02.ad.cirrus.com (198.61.84.81) by ediex01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.37; Mon, 18 Sep 2023 09:31:40 +0100 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by anon-ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server id 15.2.1118.37 via Frontend Transport; Mon, 18 Sep 2023 09:31:40 +0100 Received: from ediswmail.ad.cirrus.com (ediswmail.ad.cirrus.com [198.61.86.93]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 3ADA43563; Mon, 18 Sep 2023 08:31:40 +0000 (UTC) Date: Mon, 18 Sep 2023 08:31:40 +0000 From: Charles Keepax To: John Watts CC: , Liam Girdwood , "Mark Brown" , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , Jaroslav Kysela , Takashi Iwai , , , Subject: Re: [PATCH v3 1/3] ASoC: wm8782: Constrain maximum audio rate at runtime Message-ID: <20230918083140.GV103419@ediswmail.ad.cirrus.com> References: <20230917173726.1916439-1-contact@jookia.org> <20230917173726.1916439-2-contact@jookia.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230917173726.1916439-2-contact@jookia.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Proofpoint-GUID: b2Vlsqie4lg6Mnt0x56Mb5Y7c1QzJ9tY X-Proofpoint-ORIG-GUID: b2Vlsqie4lg6Mnt0x56Mb5Y7c1QzJ9tY X-Proofpoint-Spam-Reason: safe X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 18 Sep 2023 01:33:21 -0700 (PDT) On Mon, Sep 18, 2023 at 03:37:24AM +1000, John Watts wrote: > The wm8782 supports up to 192kHz audio when pins are set correctly. > Instead of hardcoding which rates are supported constrain them at > runtime based on a max_rate variable. > > Signed-off-by: John Watts > --- Acked-by: Charles Keepax Thanks, Charles