[alsa-devel] [RFC][PATCH 1/2] ASoC: add snd_soc_of_parse_daifmt() for DeviceTree

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Tue Jan 29 04:25:44 CET 2013


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


More information about the Alsa-devel mailing list