[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>
diff --git a/sound/soc/codecs/wm9712.c b/sound/soc/codecs/wm9712.c
index 4850550..c6b7de4 100644
--- a/sound/soc/codecs/wm9712.c
+++ b/sound/soc/codecs/wm9712.c
@@ -44,8 +44,11 @@
/* may need to expand this */
static struct snd_soc_dai_mode ac97_modes[] = {
- {0, 0, SNDRV_PCM_FMTBIT_S16_LE, AC97_RATES},
- {0, 0, SNDRV_PCM_FMTBIT_S18_3LE, AC97_RATES},
+ {
+ .pcmfmt = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S18_3LE,
+ .pcmrate = AC97_RATES,
+ .pcmdir = AC97_DIR,
+ },
};
/*