[alsa-devel] [PATCH resend 25/47] ASoC: samsung: snow: don't select unnecessary Platform
Kuninori Morimoto
kuninori.morimoto.gx at renesas.com
Tue Jun 25 10:25:45 CEST 2019
Hi Marek
> > I have no idea so far, but one capability is that if your system
> > used / based dummy platform, and if your CPU driver didn't use/have
> > snd_soc_set_runtime_hwparams() / snd_pcm_lib_ioctl,
> > it might be happen, but this patch seems not related to it...
>
> Reverting this patch fixes the issue, so it is definitely related somehow.
Ahh... OK now I think I could understand your issue.
Your CPU is using devm_snd_dmaengine_pcm_register() with same *dev.
In such case, indeed this patch breaks sound card.
Can I confirm it ?
In local email, I asked printing component name list.
Can you please replace it to below ?
I think disappear component is "snd_dmaengine_pcm".
If so, above my patch is the bug.
---------------------------
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 4cd77cd..4b1f8ae 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -313,6 +313,7 @@ static int snd_soc_rtdcom_add(struct snd_soc_pcm_runtime *rtd,
new_rtdcom->component = component;
INIT_LIST_HEAD(&new_rtdcom->list);
+ printk("-----%s : %s\n", component->name, component->driver->name);
list_add_tail(&new_rtdcom->list, &rtd->component_list);
return 0;
---------------------------
Thank you for your help !!
Best regards
---
Kuninori Morimoto
More information about the Alsa-devel
mailing list