diff options
author | Liam Girdwood <liam.girdwood@wolfsonmicro.com> | 2006-10-13 06:33:56 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-02-09 03:00:52 -0500 |
commit | 527541f9a8a83eedb4d732657dbfdcd2c4ca8bb4 (patch) | |
tree | edb8c0b4ea6bbef82a557736720e78981feeb4e4 /sound/soc/codecs/wm9712.c | |
parent | c07584c83287ae5a13cc836f69a1d824ad068c66 (diff) |
[ALSA] ASoC DAI capabilities labelling
This patch suggested by Takashi changes the DAI capabilities definitions
in pxa-i2s.c, at91rm9200-i2s.c, wm8731.c, wm8750.c and wm9712.c to use a
label = value style.
Signed-off-by: Liam Girdwood <liam.girdwood@wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/soc/codecs/wm9712.c')
-rw-r--r-- | sound/soc/codecs/wm9712.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm9712.c b/sound/soc/codecs/wm9712.c index 4850550e2e31..c6b7de426460 100644 --- a/sound/soc/codecs/wm9712.c +++ b/sound/soc/codecs/wm9712.c | |||
@@ -44,8 +44,11 @@ static int ac97_write(struct snd_soc_codec *codec, | |||
44 | 44 | ||
45 | /* may need to expand this */ | 45 | /* may need to expand this */ |
46 | static struct snd_soc_dai_mode ac97_modes[] = { | 46 | static struct snd_soc_dai_mode ac97_modes[] = { |
47 | {0, 0, SNDRV_PCM_FMTBIT_S16_LE, AC97_RATES}, | 47 | { |
48 | {0, 0, SNDRV_PCM_FMTBIT_S18_3LE, AC97_RATES}, | 48 | .pcmfmt = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S18_3LE, |
49 | .pcmrate = AC97_RATES, | ||
50 | .pcmdir = AC97_DIR, | ||
51 | }, | ||
49 | }; | 52 | }; |
50 | 53 | ||
51 | /* | 54 | /* |