aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorTroy Kisky <troy.kisky@boundarydevices.com>2008-12-18 14:36:40 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2008-12-20 08:05:37 -0500
commit1152a1959f8440db9536f6df758274443f9b5b37 (patch)
treea8f75478aec83b021b60eb14406634984fbcf811 /sound/soc
parent70043058a6968917c00c8d4cff5bfc0e095831ec (diff)
ALSA: ASoC: DaVinci: davinvi-evm, make requests explicit
Add constants with a value of 0 to show more explicitly what is being requested. Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/davinci/davinci-evm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/soc/davinci/davinci-evm.c b/sound/soc/davinci/davinci-evm.c
index d87b91179cc8..5c041bf05f31 100644
--- a/sound/soc/davinci/davinci-evm.c
+++ b/sound/soc/davinci/davinci-evm.c
@@ -38,12 +38,14 @@ static int evm_hw_params(struct snd_pcm_substream *substream,
38 38
39 /* set codec DAI configuration */ 39 /* set codec DAI configuration */
40 ret = snd_soc_dai_set_fmt(codec_dai, SND_SOC_DAIFMT_I2S | 40 ret = snd_soc_dai_set_fmt(codec_dai, SND_SOC_DAIFMT_I2S |
41 SND_SOC_DAIFMT_CBM_CFM); 41 SND_SOC_DAIFMT_CBM_CFM |
42 SND_SOC_DAIFMT_NB_NF);
42 if (ret < 0) 43 if (ret < 0)
43 return ret; 44 return ret;
44 45
45 /* set cpu DAI configuration */ 46 /* set cpu DAI configuration */
46 ret = snd_soc_dai_set_fmt(cpu_dai, SND_SOC_DAIFMT_CBM_CFM | 47 ret = snd_soc_dai_set_fmt(cpu_dai, SND_SOC_DAIFMT_I2S |
48 SND_SOC_DAIFMT_CBM_CFM |
47 SND_SOC_DAIFMT_IB_NF); 49 SND_SOC_DAIFMT_IB_NF);
48 if (ret < 0) 50 if (ret < 0)
49 return ret; 51 return ret;