29 Jan
2013
29 Jan
'13
4:25 a.m.
Hi Mark
This patch adds snd_soc_of_parse_daifmt() and supports below style on DT.
Applied, thanks.
Thank you.
Now, I'm afraid about this snd_soc_of_parse_daifmt() patch. I created this to be possible to share to get SND_SOC_xxxx flags between all drivers on DT. But now simple-card is the only user for it, and it seems can't use this snd_soc_of_parse_daifmt() directly. (snd_soc_of_parse_daifmt() will get all flags, but the flag field seems depends on driver/platform) of course, simple-card can use it with special mask, like flag = snd_soc_of_parse_daifmt() & SND_SOC_xxx_MASK.
I'm not sure what is the best way, but if it is no-sense to have this function under asoc-core, can you remove asoc/topic/of ?
Best regards --- Kuninori Morimoto