summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-08-09 20:08:31 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-08-09 20:08:31 +0100
commit8f738d58425625faf0c1a6dbfdd4458545338551 (patch)
treef6658fa6845f2115299a0ccf083896be91b0276d /include/sound
parent35b1207b34975d7ff2ea014171229c02bdb066f1 (diff)
downloadlwn-8f738d58425625faf0c1a6dbfdd4458545338551.tar.gz
lwn-8f738d58425625faf0c1a6dbfdd4458545338551.zip
ASoC: Define more formats for the AC97 CODECs
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/soc-dai.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/sound/soc-dai.h b/include/sound/soc-dai.h
index 25d62ac53fc5..50c6a0e295b7 100644
--- a/include/sound/soc-dai.h
+++ b/include/sound/soc-dai.h
@@ -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)