[alsa-devel] [PATCH v2] soc/lapis: add machine driver

Tomoya MORINAGA tomoya.rohm at gmail.com
Fri Dec 9 10:37:40 CET 2011


2011/12/9 Mark Brown <broonie at opensource.wolfsonmicro.com>:
> 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.

Seeing linux-next tree, I could understand your saying.
I saw linux tree(3.2-rc4).

thanks,
tomoya


More information about the Alsa-devel mailing list