Re: [PATCH v2 06/21] ASoC: ops: Introduce 'snd_soc_deactivate_kctl'
From: Mark Brown
Date: Tue Oct 13 2026 - 16:30:24 EST
On Sun, Oct 04, 2026 at 04:03:33PM +1000, James Calligeros wrote:
> + * Return 0 for success, else error.
> + */
> +int snd_soc_deactivate_kctl(struct snd_soc_card *card,
> + const char *name, int active)
> +{
> + if (kctl) {
> + ret = snd_ctl_activate_id(card->snd_card, &kctl->id, active);
> + if (ret < 0)
> + return ret;
snd_ctl_activate_id() returns 1 on change, 0 on no change, which doesn't
match the documentation there.
Attachment:
signature.asc
Description: PGP signature