Re: [PATCH resend 25/47] ASoC: samsung: snow: don't select unnecessary Platform

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux