[alsa-devel] [PATCH 1/1] ASoC: Fix compilation error with davinci-sffsdr module

Hugo Villeneuve hugo at hugovil.com
Thu Jan 15 23:28:18 CET 2009


On Thu, 15 Jan 2009 15:10:01 -0700
Troy Kisky <troy.kisky at boundarydevices.com> wrote:

> > Hopefully a comparison of the mainline and DaVinci trees will show
> > something...
> 
> In davinci-sffsdr.c I see
> 
> 	ret = snd_soc_dai_set_fmt(cpu_dai,
> 				  SND_SOC_DAIFMT_RIGHT_J |
> 				  SND_SOC_DAIFMT_CBM_CFS |
> 				  SND_SOC_DAIFMT_IB_NF);
> 
> When I changed the evm board flags passed, I didn't change this file.
> So, you'll need something like
> 
> 	ret = snd_soc_dai_set_fmt(cpu_dai,
> 				  SND_SOC_DAIFMT_DSP_A |
> 				  SND_SOC_DAIFMT_CBM_CFS |
> 				  SND_SOC_DAIFMT_NB_NF);

I´m not using the same codec as on the EVM. I´m using the PCM3008 and I
need to use the right-justified mode and the SND_SOC_DAIFMT_IB_NF flag
for it to work (it used to work a few weeks/months ago).
 
> But, you should be seeing error messages.

Did someone test the latest git tree and audio on a DM644x EVM to see if
it still works?

Hugo.

---------------
Hugo Villeneuve
www.hugovil.com
---------------


More information about the Alsa-devel mailing list