Re: Question about FE & BE DPCM

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

 



Hi Daniel

> »       /* BE is dummy */
> »       »       codecs->of_node»»       = NULL;
> »       »       codecs->dai_name»       = "snd-soc-dummy-dai";
> »       »       codecs->name»   »       = "snd-soc-dummy";
> 
> »       »       /* FE settings */
> »       »       dai_link->dynamic»      »       = 1;
> »       »       dai_link->dpcm_merged_format»   = 1;

Ahh, indeed... it is wrong comment.
It should be /* Codec is dummy */ here.
I will post fixup patch, soon.

Current simple-card is assuming

	FE: CPU-dummy
	BE: dummy-Codec

> asoc_simple_canonicalize_platform function where it does say:
> 
> »        * DPCM BE can be no platform.
> »        * Alloced memory will be waste, but not leak.
> »        */
> »       if (!dai_link->platforms->of_node)
> »       »       dai_link->num_platforms = 0;
> 
> But I do want to create a BE with a platform. So, should I try to
> revert the following

I see.
I'm not using but someone added asoc_simple_parse_platform().
Maybe it can help you (?), but it is not called/used under DPCM case.
If you can support it under DPCM, asoc_simple_canonicalize_platform()
is no longer your issue ?

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