Skip to contentSkip to conversation

ASoC: Added a missing 32-bit PCM format, to the wm8994 codec.

PATCH Applied Ian Lartey 3 participants 3 messages Aug 31, 2010 – Sep 1, 2010

Subsystems (3)
lore
Share & tools
lore

Ian Lartey

author
#0 lore raw

PATCH 1/1 ASoC: Added a missing 32-bit PCM format, to the wm8994 codec.

---
 sound/soc/codecs/wm8994.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/codecs/wm8994.c +1 -1
index e03072c..23d9227 100644
@@ -3498,7 +3498,7 @@ static int wm8994_set_tristate(struct snd_soc_dai *codec_dai, int tristate)
 #define WM8994_RATES SNDRV_PCM_RATE_8000_96000
 
 #define WM8994_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
-			SNDRV_PCM_FMTBIT_S24_LE)
+			SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE)
 
 static struct snd_soc_dai_ops wm8994_aif1_dai_ops = {
 	.set_sysclk	= wm8994_set_dai_sysclk,
Signature · 1 line
1.7.0.4
Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines · Ian Lartey
---
 sound/soc/codecs/wm8994.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/codecs/wm8994.c +0 -0
index e03072c..23d9227 100644

sound/soc/codecs/wm8994.c static int wm8994_set_tristate(struct snd_soc_dai *codec_dai, int tristate) · line 3504

Quoted 8 lines
sound/soc/codecs/wm8994.c +1 -1
@@ -3498,7 +3498,7 @@ static int wm8994_set_tristate(struct snd_soc_dai *codec_dai, int tristate)
 #define WM8994_RATES SNDRV_PCM_RATE_8000_96000
 
 #define WM8994_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
-			SNDRV_PCM_FMTBIT_S24_LE)
+			SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE)
 
 static struct snd_soc_dai_ops wm8994_aif1_dai_ops = {
 	.set_sysclk	= wm8994_set_dai_sysclk,
Signature · 3 lines
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk