Re: [PATCH 10/28] ASoC: ops: Accept patterns in snd_soc_limit_volume

From: Mark Brown

Date: Mon Sep 21 2026 - 11:42:32 EST


On Sun, Sep 20, 2026 at 02:53:49PM +1000, James Calligeros wrote:
> From: Martin Povišer <povik+lin@xxxxxxxxxxx>
>
> 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.

Attachment: signature.asc
Description: PGP signature