ASoC: Define more formats for the AC97 CODECs
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 9 Aug 2009 19:08:31 +0000 (20:08 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 9 Aug 2009 19:08:31 +0000 (20:08 +0100)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/soc-dai.h

index 25d62ac53fc590f6813de3b30ae27719093a1a29..50c6a0e295b7af402bccc7f97056720523b097da 100644 (file)
@@ -78,7 +78,13 @@ struct snd_pcm_substream;
 #define SND_SOC_CLOCK_IN               0
 #define SND_SOC_CLOCK_OUT              1
 
-#define SND_SOC_STD_AC97_FMTS (SNDRV_PCM_FMTBIT_S16_LE |\
+#define SND_SOC_STD_AC97_FMTS (SNDRV_PCM_FMTBIT_S8 |\
+                              SNDRV_PCM_FMTBIT_S16_LE |\
+                              SNDRV_PCM_FMTBIT_S16_BE |\
+                              SNDRV_PCM_FMTBIT_S20_3LE |\
+                              SNDRV_PCM_FMTBIT_S20_3BE |\
+                              SNDRV_PCM_FMTBIT_S24_3LE |\
+                              SNDRV_PCM_FMTBIT_S24_3BE |\
                                SNDRV_PCM_FMTBIT_S32_LE |\
                                SNDRV_PCM_FMTBIT_S32_BE)