[PATCH 11/28] ASoC: ops: Introduce 'snd_soc_deactivate_kctl'
Mark Brown
broonie at kernel.org
Tue Sep 22 02:53:00 PDT 2026
On Sun, Sep 20, 2026 at 02:53:50PM +1000, James Calligeros wrote:
> From: Martin Povišer <povik+lin at cutebit.org>
>
> The new function can be used to deactivate controls -- either a single
> one or in bulk by pattern. It is something a machine driver may call in
> fixup_controls.
> + * Return number of matching controls on success, else error.
> + * No controls need to match.
> + */
> +int snd_soc_deactivate_kctl(struct snd_soc_card *card,
> + const char *name, int active)
> + if (!hits)
> + return -EINVAL;
The comment says no controls need to match, but we return an error in
that case.
-------------- 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/20260922/b8398f17/attachment.sig>
More information about the linux-arm-kernel
mailing list