Re: [alsa-devel] [PATCH] ASoC: simple-card: overwrite DAIFMT_MASTER of cpu_dai->fmt

2014-03-11 Thread Kuninori Morimoto
Hi Nicolin > > static struct asoc_simple_card_info fsi_wm8978_info = { > > ... > > .daifmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_CBM_CFM, > > .cpu_dai = { > > ... > > .fmt= SND_SOC_DAIFMT_IB_NF, > > }, > > .codec_dai = { > > ...

Re: [alsa-devel] [PATCH] ASoC: simple-card: overwrite DAIFMT_MASTER of cpu_dai->fmt

2014-03-11 Thread Nicolin Chen
Hi Morimoto-san, On Tue, Mar 11, 2014 at 08:36:22PM -0700, Kuninori Morimoto wrote: > > Hi Mark > > > > > asoc-simple-card sound-cs42888.12: cpu : 2024000.esai / 4003 / 13200 > > > > asoc-simple-card sound-cs42888.12: codec : cs42888 / 1003 / 24576000 > > > > asoc-simple-card

Re: [alsa-devel] [PATCH] ASoC: simple-card: overwrite DAIFMT_MASTER of cpu_dai->fmt

2014-03-11 Thread Kuninori Morimoto
Hi Mark > > > asoc-simple-card sound-cs42888.12: cpu : 2024000.esai / 4003 / 13200 > > > asoc-simple-card sound-cs42888.12: codec : cs42888 / 1003 / 24576000 > > > asoc-simple-card sound-cs42888.12: cs42888 <-> 2024000.esai mapping ok > > > cpu = 4003 : SND_SOC_DAIFMT_CBS_CFS |

Re: [alsa-devel] [PATCH] ASoC: simple-card: overwrite DAIFMT_MASTER of cpu_dai->fmt

2014-03-11 Thread Mark Brown
On Tue, Mar 11, 2014 at 06:32:32PM -0700, Kuninori Morimoto wrote: > > The current simple-card driver separates the daimft for cpu_dai and > > codec_dai. > > So we might get different values for them (0x4003 and 0x1003 for example): > > > > asoc-simple-card sound-cs42888.12: cpu : 2024000.esai /

Re: [alsa-devel] [PATCH] ASoC: simple-card: overwrite DAIFMT_MASTER of cpu_dai->fmt

2014-03-11 Thread Kuninori Morimoto
Hi Nicolin > The current simple-card driver separates the daimft for cpu_dai and codec_dai. > So we might get different values for them (0x4003 and 0x1003 for example): > > asoc-simple-card sound-cs42888.12: cpu : 2024000.esai / 4003 / 13200 > asoc-simple-card sound-cs42888.12: codec :

Re: [alsa-devel] [PATCH] ASoC: simple-card: overwrite DAIFMT_MASTER of cpu_dai-fmt

2014-03-11 Thread Kuninori Morimoto
Hi Nicolin The current simple-card driver separates the daimft for cpu_dai and codec_dai. So we might get different values for them (0x4003 and 0x1003 for example): asoc-simple-card sound-cs42888.12: cpu : 2024000.esai / 4003 / 13200 asoc-simple-card sound-cs42888.12: codec : cs42888 /

Re: [alsa-devel] [PATCH] ASoC: simple-card: overwrite DAIFMT_MASTER of cpu_dai-fmt

2014-03-11 Thread Mark Brown
On Tue, Mar 11, 2014 at 06:32:32PM -0700, Kuninori Morimoto wrote: The current simple-card driver separates the daimft for cpu_dai and codec_dai. So we might get different values for them (0x4003 and 0x1003 for example): asoc-simple-card sound-cs42888.12: cpu : 2024000.esai / 4003 /

Re: [alsa-devel] [PATCH] ASoC: simple-card: overwrite DAIFMT_MASTER of cpu_dai-fmt

2014-03-11 Thread Kuninori Morimoto
Hi Mark asoc-simple-card sound-cs42888.12: cpu : 2024000.esai / 4003 / 13200 asoc-simple-card sound-cs42888.12: codec : cs42888 / 1003 / 24576000 asoc-simple-card sound-cs42888.12: cs42888 - 2024000.esai mapping ok cpu = 4003 : SND_SOC_DAIFMT_CBS_CFS | SND_SOC_DAIFMT_LEFT_J

Re: [alsa-devel] [PATCH] ASoC: simple-card: overwrite DAIFMT_MASTER of cpu_dai-fmt

2014-03-11 Thread Nicolin Chen
Hi Morimoto-san, On Tue, Mar 11, 2014 at 08:36:22PM -0700, Kuninori Morimoto wrote: Hi Mark asoc-simple-card sound-cs42888.12: cpu : 2024000.esai / 4003 / 13200 asoc-simple-card sound-cs42888.12: codec : cs42888 / 1003 / 24576000 asoc-simple-card sound-cs42888.12: cs42888 -

Re: [alsa-devel] [PATCH] ASoC: simple-card: overwrite DAIFMT_MASTER of cpu_dai-fmt

2014-03-11 Thread Kuninori Morimoto
Hi Nicolin static struct asoc_simple_card_info fsi_wm8978_info = { ... .daifmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_CBM_CFM, .cpu_dai = { ... .fmt= SND_SOC_DAIFMT_IB_NF, }, .codec_dai = { ...