]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
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 d2476e206a87a084813aea9d5c109f08c56c0035..01b948bb55a1ee6fdc5f5a13a43713980d8f0d32 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)
 {