OSDN Git Service

ASoC: tlv320aic31xx: Enable support for S24_LE format
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 4 Sep 2014 07:59:41 +0000 (10:59 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 4 Sep 2014 11:05:31 +0000 (12:05 +0100)
S24_LE is the same on the bus as S24_3LE, which means the codec can support
it.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tlv320aic31xx.h

index 52ed57c..fe16c34 100644 (file)
@@ -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