9 Dec
2011
9 Dec
'11
10:43 a.m.
On Fri, Dec 09, 2011 at 05:38:57PM +0900, Tomoya MORINAGA wrote:
Firstly, the above "dai_link structure" means below ? If yes, there is no member "dai_fmt", right ? 697 struct snd_soc_dai_link {
As previously advised you should work against current development kernels. dai_fmt is present in current development kernels (and Linus' tree for that matter).
ret = snd_soc_dai_set_fmt(codec_dai, SND_SOC_DAIFMT_I2S |
SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBS_CFS);
At the above point, do you mean I shouldn't set these formats( SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBS_CFS) directly ?
Yes.