Re: [PATCH v2] ASoC: codecs: lpass-macro: Add support for channel map mixer control

From: Mohammad Rafi Shaik

Date: Mon Sep 29 2025 - 01:52:09 EST




On 9/2/2025 6:28 PM, Konrad Dybcio wrote:
On 9/2/25 8:23 AM, Mohammad Rafi Shaik wrote:
Introduce the channel map mixer control support for LPASS macro
codec Digital Audio Interfaces (DAIs). The channel map mixer controls
are required by APPS to configure usecase-specific audio routing and
channel mapping.

Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@xxxxxxxxxxxxxxxx>
---

[...]

+int lpass_macro_add_chmap_ctls(struct snd_soc_pcm_runtime *rtd,
+ struct snd_soc_dai *dai, int dir)
+{
+ struct snd_pcm_chmap *info;
+ int ret;
+
+ info = kzalloc(sizeof(*info), GFP_KERNEL);
+ if (!info)
+ return -ENOMEM;
+
+ ret = snd_pcm_add_chmap_ctls(rtd->pcm, dir, NULL,

double space after '='

Ack,

Sure will update in next version.

some how extra space error/warning is not seeing while checkpatch.pl test.

Thanks & Regards,
Rafi.

Konrad