Re: [PATCH 1/3] ALSA: pcm: add snd_pcm_add_chmap_ctls_with_prefix

From: Srinivas Kandagatla
Date: Sat May 06 2023 - 03:43:06 EST




On 06/05/2023 06:57, Takashi Iwai wrote:
On Fri, 05 May 2023 18:55:12 +0200,
Srinivas Kandagatla wrote:

On Qualcomm SoC which has multiple Display Port controllers, using
snd_pcm_add_chmap_ctls() to add chmap controls from every ASoC hdmi codec
instance for a give card fails while adding second instance as the control
with same name "Playback Channel Map" already exists from the first instance.

Fix this by adding a new api wrapper to pass ASoC component name prefix to
avoid such duplicate control naming.

It implies that you have conflicting PCM objects with the same PCM
device number from the same card. How can it be?
Thanks for the inputs, this is only issue with my local changes, Sorry for the noise, Please ignore this series.

I had some local changes to debug an issue around pcm device numbering with backend dailinks from device tree and frontend dailinks from tplg.
Will start a new thread to discuss this issue.

thanks,
srini


Takashi