ALSA: ASoc: DaVinci: davinci-evm use dsp_b mode
authorTroy Kisky <troy.kisky@boundarydevices.com>
Fri, 19 Dec 2008 20:05:25 +0000 (13:05 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 20 Dec 2008 13:05:39 +0000 (13:05 +0000)
Sense DaVinci does not support true I2S mode and
we don't have to use the hack, use dsp_b mode instead

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/davinci/davinci-evm.c

index d2476e2..01b948b 100644 (file)
@@ -28,8 +28,8 @@
 
 #define EVM_CODEC_CLOCK 22579200
 
-#define AUDIO_FORMAT (SND_SOC_DAIFMT_I2S | \
-               SND_SOC_DAIFMT_CBM_CFM | SND_SOC_DAIFMT_NB_NF)
+#define AUDIO_FORMAT (SND_SOC_DAIFMT_DSP_B | \
+               SND_SOC_DAIFMT_CBM_CFM | SND_SOC_DAIFMT_IB_NF)
 static int evm_hw_params(struct snd_pcm_substream *substream,
                         struct snd_pcm_hw_params *params)
 {