[alsa-devel] [PATCH 8/8] ALSA: ASoc: DaVinci: davinci-evm use dsp_a mode

Troy Kisky troy.kisky at boundarydevices.com
Thu Dec 18 20:36:46 CET 2008


Sense DaVinci does not support true I2S mode and
we don't have to use the hack, use dsp_a mode instead

Signed-off-by: Troy Kisky <troy.kisky at boundarydevices.com>

diff --git a/sound/soc/davinci/davinci-evm.c b/sound/soc/davinci/davinci-evm.c
index a78ff59..6c44e4e 100644
--- a/sound/soc/davinci/davinci-evm.c
+++ b/sound/soc/davinci/davinci-evm.c
@@ -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_A | \
+		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)
 {
-- 
1.5.4.3



More information about the Alsa-devel mailing list