Skip to contentSkip to conversation

ASoC: tlv320aic31xx: Enable support for S24_LE format

PATCH Applied Peter Ujfalusi 2 participants 2 messages Sep 4, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: tlv320aic31xx: Enable support for S24_LE format

S24_LE is the same on the bus as S24_3LE, which means the codec can support it.

---
 sound/soc/codecs/tlv320aic31xx.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
sound/soc/codecs/tlv320aic31xx.h +2 -1
index 52ed57c69dfa..fe16c34607bb 100644
@@ -18,7 +18,8 @@
 #define AIC31XX_RATES	SNDRV_PCM_RATE_8000_192000
 
 #define AIC31XX_FORMATS	(SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE \
-			 | SNDRV_PCM_FMTBIT_S24_3LE | SNDRV_PCM_FMTBIT_S32_LE)
+			 | SNDRV_PCM_FMTBIT_S24_3LE | SNDRV_PCM_FMTBIT_S24_LE \
+			 | SNDRV_PCM_FMTBIT_S32_LE)
 
 
 #define AIC31XX_STEREO_CLASS_D_BIT	0x1
Signature · 6 lines
2.1.0

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
maintainer Applied
#1 lore raw
Quoted 2 lines · Peter Ujfalusi

S24_LE is the same on the bus as S24_3LE, which means the codec can support it.

Applied, thanks.