public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Mukunda,Vijendar" <vijendar.mukunda@amd.com>
To: Mario Limonciello <mario.limonciello@amd.com>,
	Venkata Prasad Potturu <venkataprasad.potturu@amd.com>,
	broonie@kernel.org, alsa-devel@alsa-project.org
Cc: Basavaraj.Hiregoudar@amd.com, Sunil-kumar.Dommati@amd.com,
	ssabakar@amd.com, Liam Girdwood <lgirdwood@gmail.com>,
	Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
	Cristian Ciocaltea <cristian.ciocaltea@collabora.com>,
	Emil Velikov <emil.velikov@collabora.com>,
	Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
	"open list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..."
	<linux-sound@vger.kernel.org>,
	open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] ASoC: amd: acp: Fix for ACP SOF dmic tplg component load failure
Date: Mon, 4 Nov 2024 20:05:28 +0530	[thread overview]
Message-ID: <4843851a-edde-4d8e-b311-46b980dab5e8@amd.com> (raw)
In-Reply-To: <36b9646b-8c70-4c7e-8398-ba22331e0004@amd.com>

On 04/11/24 19:52, Mario Limonciello wrote:
> On 11/4/2024 03:13, Venkata Prasad Potturu wrote:
>> Stream name mismatch with topology file causes tplg load failure.
>>
>> As SOF framework assigns dailink->stream name, overriding stream name
>> other than link name causes SOF dmic component load failure.
>>
>> [   35.474995] snd_sof_amd_acp70 0000:c4:00.5: error: can't connect DAI
>> ACPDMIC0.IN stream acp-dmic-codec
>> [   35.475001] snd_sof_amd_acp70 0000:c4:00.5: failed to add widget type 28
>> name : ACPDMIC0.IN stream acp-dmic-codec
>> [   35.475013] sof_mach acp70-dsp: ASoC: failed to load widget ACPDMIC0.IN
>> [   35.475018] sof_mach acp70-dsp: ASoC: topology: could not load header: -22
>> [   35.475072] snd_sof_amd_acp70 0000:c4:00.5: error: tplg component load
>> failed -22
>> [   35.475083] snd_sof_amd_acp70 0000:c4:00.5: error: failed to load DSP
>> topology -22
>> [   35.475090] snd_sof_amd_acp70 0000:c4:00.5: ASoC: error at
>> snd_soc_component_probe on 0000:c4:00.5: -22
>> [   35.475117] sof_mach acp70-dsp: ASoC: failed to instantiate card -22
>> [   35.475254] sof_mach acp70-dsp: error -EINVAL: Failed to register
>> card(sof-acp70-dsp)
>> [   35.475261] sof_mach acp70-dsp: probe with driver sof_mach failed with
>> error -22
>>
>> Fixes: b2385de2ae11 ("ASoC: amd: acp: Add stream name to ACP PDM DMIC devices")
>>
>> Signed-off-by: Venkata Prasad Potturu <venkataprasad.potturu@amd.com>
>
> Thanks. I was aiming to sort out (null) from `arecord -l` but functionality is
> more important.
>
> Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
>
> Mark,
>
> Up to you but alternatively, you can also drop my existing patch and force
> push your for-next branch.

@Mario: Your changes are required for Legacy machine driver.
This patch can go as a fix on top of your commit.

>
>> ---
>>   sound/soc/amd/acp/acp-mach-common.c | 1 -
>>   1 file changed, 1 deletion(-)
>>
>> diff --git a/sound/soc/amd/acp/acp-mach-common.c
>> b/sound/soc/amd/acp/acp-mach-common.c
>> index 67aa0ad83486..d314253207d5 100644
>> --- a/sound/soc/amd/acp/acp-mach-common.c
>> +++ b/sound/soc/amd/acp/acp-mach-common.c
>> @@ -1561,7 +1561,6 @@ int acp_sofdsp_dai_links_create(struct snd_soc_card *card)
>>         if (drv_data->dmic_cpu_id == DMIC) {
>>           links[i].name = "acp-dmic-codec";
>> -        links[i].stream_name = "DMIC capture";
>>           links[i].id = DMIC_BE_ID;
>>           links[i].codecs = dmic_codec;
>>           links[i].num_codecs = ARRAY_SIZE(dmic_codec);
>


  reply	other threads:[~2024-11-04 14:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-04  9:13 [PATCH] ASoC: amd: acp: Fix for ACP SOF dmic tplg component load failure Venkata Prasad Potturu
2024-11-04  9:35 ` Markus Elfring
2024-11-04 12:16   ` Mark Brown
2024-11-04 14:22 ` Mario Limonciello
2024-11-04 14:35   ` Mukunda,Vijendar [this message]
2024-11-04 14:40     ` Mario Limonciello
2024-11-05 16:38 ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4843851a-edde-4d8e-b311-46b980dab5e8@amd.com \
    --to=vijendar.mukunda@amd.com \
    --cc=Basavaraj.Hiregoudar@amd.com \
    --cc=Sunil-kumar.Dommati@amd.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=cristian.ciocaltea@collabora.com \
    --cc=emil.velikov@collabora.com \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=mario.limonciello@amd.com \
    --cc=perex@perex.cz \
    --cc=ssabakar@amd.com \
    --cc=tiwai@suse.com \
    --cc=venkataprasad.potturu@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox