diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-05-02 07:24:55 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-05-02 07:32:09 -0400 |
commit | 33f503c96c976fd585dedb76514ca6cb286e60d9 (patch) | |
tree | cdd4bb7dbc19a090f9f7ae09695a542ca2b19973 /include/sound/soc-dai.h | |
parent | 71437552f2564c0d0c5cc4995045683051c5fe62 (diff) |
ASoC: Use a shared define for AC97 CODEC data formats
The AC97 wire format is completely fixed so CODECs don't have any choice
about the formats they accept but controllers accept a variety of data
formats and render them down onto the bus. Have a shared define so all
the CODEC drivers will interoperate with any of our controller drivers.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound/soc-dai.h')
-rw-r--r-- | include/sound/soc-dai.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/soc-dai.h b/include/sound/soc-dai.h index 22b729fbbf84..ea07b4bd5161 100644 --- a/include/sound/soc-dai.h +++ b/include/sound/soc-dai.h | |||
@@ -96,6 +96,9 @@ struct snd_pcm_substream; | |||
96 | #define SND_SOC_CLOCK_IN 0 | 96 | #define SND_SOC_CLOCK_IN 0 |
97 | #define SND_SOC_CLOCK_OUT 1 | 97 | #define SND_SOC_CLOCK_OUT 1 |
98 | 98 | ||
99 | #define SND_SOC_STD_AC97_FMTS (SNDRV_PCM_FMTBIT_S16_LE |\ | ||
100 | SNDRV_PCM_FMTBIT_S32_LE) | ||
101 | |||
99 | struct snd_soc_dai_ops; | 102 | struct snd_soc_dai_ops; |
100 | struct snd_soc_dai; | 103 | struct snd_soc_dai; |
101 | struct snd_ac97_bus_ops; | 104 | struct snd_ac97_bus_ops; |