Re: [PATCH v4 1/4] ALSA: pcm: Add snd_pcm_add_named_chmap_ctls() for custom control names

From: Takashi Iwai

Date: Wed Nov 25 2026 - 08:57:01 EST


On Tue, 24 Nov 2026 11:57:22 +0100,
Abel Vesa wrote:
>
> From: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxxxxxxxx>
>
> Add snd_pcm_add_named_chmap_ctls() to allow drivers to register channel
> map controls with names other than the default "Playback Channel Map"
> and "Capture Channel Map".
>
> This is useful for cards exposing several channel map controls, such as
> Qualcomm machine drivers with both HDMI/DP and WSA speaker backends,
> where a distinct name makes it clear to userspace which backend the
> control belongs to.
>
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxxxxxxxx>
> Signed-off-by: Abel Vesa <abel.vesa@xxxxxxxxxxxxxxxx>

Acked-by: Takashi Iwai <tiwai@xxxxxxx>


thanks,

Takashi