diff options
author | Lopez Cruz, Misael <x0052729@ti.com> | 2009-06-19 04:23:42 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-06-22 06:24:04 -0400 |
commit | c264301c777840b2df130e042b7f5a0c1041646f (patch) | |
tree | 719c2a6dbe604f253287f8a348670f7311913689 /sound/soc/codecs/twl4030.c | |
parent | e370f45aeb76634d81a59b3b8f45b0f2faebef9b (diff) |
ASoC: TWL4030: Fix voice interface clock masters
Voice interface of twl4030 codec supports: CBM_CFM and
CBS_CFS. It doesn't support CBS_CFM.
Signed-off-by: Misael Lopez Cruz <x0052729@ti.com>
Acked-By: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/twl4030.c')
-rw-r--r-- | sound/soc/codecs/twl4030.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/twl4030.c b/sound/soc/codecs/twl4030.c index 4275eea31450..091125c888ed 100644 --- a/sound/soc/codecs/twl4030.c +++ b/sound/soc/codecs/twl4030.c | |||
@@ -1946,7 +1946,7 @@ static int twl4030_voice_set_dai_fmt(struct snd_soc_dai *codec_dai, | |||
1946 | 1946 | ||
1947 | /* set master/slave audio interface */ | 1947 | /* set master/slave audio interface */ |
1948 | switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) { | 1948 | switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) { |
1949 | case SND_SOC_DAIFMT_CBS_CFM: | 1949 | case SND_SOC_DAIFMT_CBM_CFM: |
1950 | format &= ~(TWL4030_VIF_SLAVE_EN); | 1950 | format &= ~(TWL4030_VIF_SLAVE_EN); |
1951 | break; | 1951 | break; |
1952 | case SND_SOC_DAIFMT_CBS_CFS: | 1952 | case SND_SOC_DAIFMT_CBS_CFS: |