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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 AED83C982F1 for ; Tue, 22 Sep 2026 09:43:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=T7DhFwXtpjqqTNg2JPXQRDOE2UKkVRNsCGtZR4eTpAc=; b=WnTbGQZQ/fH9uvdjv3wOE9+2/D b4SVwDBOwbINuGs9zUmFhsEYhaBD10rf1wOMV0Dgg/VQuKLKa9anz2Y7oqWwKRgabhdMoAriZVujY wVkl+aDFmfTrH4wqwHpgRI50Hj1uli3MY7Zr+Q8cZx/PyhxL/L1gPZYWxuSp6CWZZvzj2yvoq2emd EL3xK1qLj+zdFavZF4D3LfHDgir2HzU12IV98fWaQDM1soYDPWs+7pSiB0CX4w8QYrBqOonNVRXVS MlfSCphfUXFfPyjrrg46JC44ShNCj7/8DCHn5N0FHORgsWYHO7VSyXC+97gvSTfBSIKab9b1iZOOB MsQP0hVQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x8x2R-00000004xEc-2u9r; Tue, 22 Sep 2026 09:43:47 +0000 Received: from sea.source.kernel.org ([172.234.252.31]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1x8x2Q-00000004xEA-0BIH; Tue, 22 Sep 2026 09:43:46 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id C5C5441ACF; Tue, 22 Sep 2026 09:43:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 766D11F00898; Tue, 22 Sep 2026 09:43:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1790070225; bh=T7DhFwXtpjqqTNg2JPXQRDOE2UKkVRNsCGtZR4eTpAc=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=oYcMEpTH6Q5aMk4NFddrYVjZMb30tGXyn0xwoTPBRuOpTlzOUh9WGAlfr1pk5sCmi 7W/bEe/SfwwN2ezubsSet/YmL8QVpeOXxjgVhg1qH9asWlfcYuxtYm4qLDdItvTBn1 Z0OcwWX8bjqvXqzGvQn/u4kA2VQIytRiKsX+/eroj94P1tHZgYSghhIESFXB2OgXB9 7HH4/rUwL1j3cywBY519ogBmPI/69lmmKtSpsj48kUVicso37cL/5WJbxtd7TcsS4L gwQnZG3CAHfZpvJ+gqk2T52MeifiOo2an2THeSRI7pVeFosFrsmKg2qs7n8wGMv9qj TwNrJ0JlhwQ+A== Received: by finisterre.sirena.org.uk (Postfix, from userid 1000) id C24391AC56BF; Tue, 22 Sep 2026 10:43:41 +0100 (BST) Date: Tue, 22 Sep 2026 11:43:41 +0200 From: Mark Brown To: James Calligeros Cc: Martin =?utf-8?Q?Povi=C5=A1er?= , Liam Girdwood , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sven Peter , Janne Grunau , Neal Gompa , David Rhodes , Richard Fitzgerald , Jaroslav Kysela , Takashi Iwai , Ulf Hansson , Amit Kucheria , "Rafael J. Wysocki" , Lars-Peter Clausen , Vinod Koul , Matthias Brugger , AngeloGioacchino Del Regno , Shenghao Ding , Kevin Lu , Baojun Xu , Sen Wang , James Schulman , asahi@lists.linux.dev, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, patches@opensource.cirrus.com, Takashi Iwai , linux-mediatek@lists.infradead.org, Hector Martin Subject: Re: [PATCH 14/28] ASoC: ops: Export snd_soc_control_matches() Message-ID: References: <20260920-macaudio-v1-0-741cc20a74e5@gmail.com> <20260920-macaudio-v1-14-741cc20a74e5@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="12Ep3rrf+qEA2PeF" Content-Disposition: inline In-Reply-To: <20260920-macaudio-v1-14-741cc20a74e5@gmail.com> X-Cookie: Too clever is dumb. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org --12Ep3rrf+qEA2PeF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 20, 2026 at 02:53:53PM +1000, James Calligeros wrote: > From: Hector Martin >=20 > This helper is useful for drivers that want to do their own control > lookups and matching as part of more complex logic than the existing > operations. > EXPORT_SYMBOL_GPL(snd_soc_put_volsw_sx); > =20 > -static bool soc_control_matches(struct snd_kcontrol *kctl, > +bool snd_soc_control_matches(struct snd_kcontrol *kctl, > const char *pattern) > { > const char *name =3D kctl->id.name; > @@ -425,6 +425,7 @@ static bool soc_control_matches(struct snd_kcontrol *= kctl, > =20 > return !strcmp(name, pattern); > } > +EXPORT_SYMBOL_GPL(snd_soc_control_matches); Please document the API now you're exporting it. --12Ep3rrf+qEA2PeF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmqyTcwACgkQJNaLcl1U h9DA4Af+K7mR3OxqTfAC67to7qEqJQQ0Ug/vN9SgZhFMBNEFP8R/bozZv5ev35ko azZVRzd+3ZOgE+bYY+lRrLiXZBYfbvRMF7rhsE4r9gGJ4mtsjbov0B0UaQ6mlGjr pfN8bT6WcAWq9AmZHAwpZegV6zs4446SoNgug2hxmQR79DSk/VpFnBVo6pZOw2uR tooItCshsxcHrMtkM3lwGhfVaTJRBcu4geSbs5XDGlVvNCrdc/tnTs4k/Ye3X7bo CiTNo7YPzCkrvn0ry/Z619SEYXOjS6ApnaKzi5WgsCB+5aWYwwSXgGrF72XDhJmV pNbfaQ3PmLgv750rg49idZahfnqEqw== =TlRR -----END PGP SIGNATURE----- --12Ep3rrf+qEA2PeF--