[alsa-devel] [PATCH] ASoC: SAMSUNG: Add SND_SOC_DAIFMT_CONT option for snd_soc_set_fmt()
Mark Brown
broonie at opensource.wolfsonmicro.com
Mon Aug 27 22:45:51 CEST 2012
On Sun, Aug 26, 2012 at 05:45:54PM +0900, �ڻ��� wrote:
> SND_SOC_DAIFMT_CONT option is now needed because of below commit:
>
> ASoC: Allow DAI formats to be specified in the dai_link
Clearly it's not a direct consequence of this commit, that just
introduces a new optional facility which...
> /* Set the cpu DAI configuration */
> ret = snd_soc_dai_set_fmt(cpu_dai, SND_SOC_DAIFMT_DSP_B
> + | SND_SOC_DAIFMT_CONT
> | SND_SOC_DAIFMT_IB_NF
> | SND_SOC_DAIFMT_CBS_CFS);
...isn't being used by the driver.
Looking at the above it looks like the PCM driver is doing something
very odd - _CONT doesn't make a whole lot of sense on the slave side,
it's related to the clock generation so should have no effect at all on
the slave side. The driver code looks reasonably sensible though.
What specifically is going wrong here?
More information about the Alsa-devel
mailing list