[PATCH 10/28] ASoC: ops: Accept patterns in snd_soc_limit_volume
Mark Brown
broonie at kernel.org
Mon Sep 21 08:27:33 PDT 2026
On Sun, Sep 20, 2026 at 02:53:49PM +1000, James Calligeros wrote:
> From: Martin Povišer <povik+lin at cutebit.org>
>
> In snd_soc_limit_volume, instead of looking up a single control by name,
> also understand wildcard-starting patterns like '* Amp Gain Volume' to
> touch many controls at one.
> - return soc_limit_volume(kctl, max);
> + return hits;
> }
> EXPORT_SYMBOL_GPL(snd_soc_limit_volume);
This will break the existing Cirrus and TI users which treat non-zero
values as errors, most users ignore the return value but they check.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20260921/c2718140/attachment.sig>
More information about the linux-arm-kernel
mailing list