Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp828026rwl; Wed, 5 Apr 2023 08:13:30 -0700 (PDT) X-Google-Smtp-Source: AKy350bgpRRCDrDHNYHHKBe3DxtmGU3ZGKpczCc0XPW7SbslVn/2feQHcpZhdKcRMikRWe9DUvf/ X-Received: by 2002:aa7:8f24:0:b0:62d:e5eb:2d73 with SMTP id y4-20020aa78f24000000b0062de5eb2d73mr6092184pfr.34.1680707610190; Wed, 05 Apr 2023 08:13:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680707610; cv=none; d=google.com; s=arc-20160816; b=q0BikwubORlfzM4mWxQiPBuMILmgmE228nSe2x8dsYmnbZEgLq4PCwwg9l6Ev90+0j Q2kOkrd4a074bLSvv9NkE9Cz33yOsRGuVRO+WXM7udj2SkAhGBp8YtZX97T0LusPJCP1 AAr4XIOmCUVOC9F48HLScTSZM44q+O+f+W49MNJ00UrV6R2xzpEA6Lj/aodw6he+Ogv3 eMGhM059ElCSlkmt9WTIej+ybssk1I+yYStITbI8IvwWi9AtnV0SXvIfPUtGYGXayFeR KTmk1UTRjAS/51kv9N2tBlMtMqfWF/V3BO8keuIYUr7+hJW37FQIzUxjsHB3bU+s7RNq M7EQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=D4YX5DK0pun7qG4OSMVc8e9vaDN+H7CmPuWpZRhiBTU=; b=oJKWhyH7rMl9WefMpNonvk+PSfdMUKjqBSb+pRjdf08YD1/crfTBfOLr1YBmY5yWpy 9qZm5XF1gQg+qdH8hfKdyRSU+dj3k+5xWmw2VvnojpDJvyaS3nsbvxGYPLQp5QIXnAqe WXCIdq/KGK9cU8mYJYRscxaRZVzGspwDon69C/tphEM9dNtTGjH20mkj9HGmr2RZIrNI 9SrJDWkmCPwFhI5GpK9e5f5wQgpY2N0lyfysxWpJ6C5cKQc2TdBNLgzMM46ZIZgP30py kK95/vkFghCwfLXSL7FfKyw8TeKvg0QbFVPuZlvdktAVmAI3mxBqZyQE6ByAcF+bb2+k rIWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=H++unxUb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u69-20020a627948000000b0062ae6345c64si12831070pfc.383.2023.04.05.08.13.16; Wed, 05 Apr 2023 08:13:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=H++unxUb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238850AbjDEPNC (ORCPT + 99 others); Wed, 5 Apr 2023 11:13:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238551AbjDEPMl (ORCPT ); Wed, 5 Apr 2023 11:12:41 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8263D7ECB; Wed, 5 Apr 2023 08:10:48 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D9462625CA; Wed, 5 Apr 2023 15:10:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A41DAC433D2; Wed, 5 Apr 2023 15:10:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680707447; bh=D4YX5DK0pun7qG4OSMVc8e9vaDN+H7CmPuWpZRhiBTU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=H++unxUb7nt0bWB0cZRIpirjyl6fMUIanjR0IybKKbOFCDZQ7fl3nGRfgXxHBmOTc aLr8pCNoVrScF3nXsYVeVlit6tFVqt3RTHudqPjdJeU4XNb3Fm+L6FyB4ZGRpA8mku uHDprHNH/IIWooGinODcsKEp00ZKOvzTS5e+wLSdqGlH/MPkZGOJVa2hJjKHooD4a0 m1oiZgR8OnAyymsDZMT9AjB6JLhQsxqkpcXhI/shb8qZ4C8ggWEHL6au6GNGlms1bf 2LcKx7iD5BDrkm8i9BaGwlDiJoOZSwNIUEO5nDNUcLF6Xb9gQmEcDK0dMfWFuHYUX9 29DfTcAe3KLQg== Date: Wed, 5 Apr 2023 16:10:25 +0100 From: Mark Brown To: Maxime Ripard Cc: Michael Turquette , Stephen Boyd , Andreas =?iso-8859-1?Q?F=E4rber?= , Manivannan Sadhasivam , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Max Filippov , Charles Keepax , Richard Fitzgerald , Maxime Coquelin , Alexandre Torgue , Luca Ceresoli , David Lechner , Sekhar Nori , Abel Vesa , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Matthias Brugger , Geert Uytterhoeven , Dinh Nguyen , Peter De Schrijver , Prashant Gaikwad , Thierry Reding , Jonathan Hunter , Ulf Hansson , Linus Walleij , David Airlie , Daniel Vetter , Vinod Koul , Kishon Vijay Abraham I , Alessandro Zummo , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Paul Cercueil , Orson Zhai , Baolin Wang , Chunyan Zhang , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, AngeloGioacchino Del Regno , linux-arm-kernel@lists.infradead.org, linux-actions@lists.infradead.org, patches@opensource.cirrus.com, linux-stm32@st-md-mailman.stormreply.com, linux-mediatek@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-tegra@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-phy@lists.infradead.org, linux-rtc@vger.kernel.org, linux-sunxi@lists.linux.dev, alsa-devel@alsa-project.org, linux-mips@vger.kernel.org Subject: Re: [PATCH v3 64/65] ASoC: tlv320aic32x4: div: Switch to determine_rate Message-ID: <692983f2-4aef-4ab9-9777-43f46b9cb4ba@sirena.org.uk> References: <20221018-clk-range-checks-fixes-v3-0-9a1358472d52@cerno.tech> <20221018-clk-range-checks-fixes-v3-64-9a1358472d52@cerno.tech> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3Lzv7qB7yUCBJADV" Content-Disposition: inline In-Reply-To: <20221018-clk-range-checks-fixes-v3-64-9a1358472d52@cerno.tech> X-Cookie: 1 bulls, 3 cows. X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --3Lzv7qB7yUCBJADV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Apr 04, 2023 at 12:11:54PM +0200, Maxime Ripard wrote: > The driver does implement round_rate() though, which means that we can > change the rate of the clock, but we will never get to change the > parent. > However, It's hard to tell whether it's been done on purpose or not. > Since we'll start mandating a determine_rate() implementation, let's > convert the round_rate() implementation to a determine_rate(), which > will also make the current behavior explicit. And if it was an > oversight, the clock behaviour can be adjusted later on. Similar comments to the other patch, I'm pretty sure this is just surprising design on the part of the clock API and we should just allow reparenting. --3Lzv7qB7yUCBJADV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmQtj2AACgkQJNaLcl1U h9C6nwf/eAXWoy2nqSW5TGkiJhKHJv8x94Toi8TRODFF+R/hoCeBiwbDpLoGU2W+ XtYiCa4AsVVTQShMscEuygSt4HqR2Hm7gaw+SoRwfdX/dEpqMCCF1Uzc9IAgRRv/ 3aWJLZtx/5Mpyu3eaA6b7ul2tFP8PDE90ePyk1zHCZGUE189FK95s3Xc6zmVnuy2 Es8Td9JeVAZhnxCyLYGLVjoUw8/LsBEXAQWpSr/ayacNPTQa9PlPM3k/HCggwR7g 3NRnovXN1XYJ2pkkaN9RB9yifiB9Doz8KnLhSJVYG2lIaFMyYDSuYFu2zEIa8M/y YabesVhSGONiNYKoP8QmdjTZqKi2nw== =i5C8 -----END PGP SIGNATURE----- --3Lzv7qB7yUCBJADV--