|
@@ -534,13 +534,13 @@ struct snd_soc_dai wm9712_dai[] = {
|
|
.channels_min = 1,
|
|
.channels_min = 1,
|
|
.channels_max = 2,
|
|
.channels_max = 2,
|
|
.rates = WM9712_AC97_RATES,
|
|
.rates = WM9712_AC97_RATES,
|
|
- .formats = SNDRV_PCM_FMTBIT_S16_LE,},
|
|
|
|
|
|
+ .formats = SND_SOC_STD_AC97_FMTS,},
|
|
.capture = {
|
|
.capture = {
|
|
.stream_name = "HiFi Capture",
|
|
.stream_name = "HiFi Capture",
|
|
.channels_min = 1,
|
|
.channels_min = 1,
|
|
.channels_max = 2,
|
|
.channels_max = 2,
|
|
.rates = WM9712_AC97_RATES,
|
|
.rates = WM9712_AC97_RATES,
|
|
- .formats = SNDRV_PCM_FMTBIT_S16_LE,},
|
|
|
|
|
|
+ .formats = SND_SOC_STD_AC97_FMTS,},
|
|
.ops = &wm9712_dai_ops_hifi,
|
|
.ops = &wm9712_dai_ops_hifi,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -550,7 +550,7 @@ struct snd_soc_dai wm9712_dai[] = {
|
|
.channels_min = 1,
|
|
.channels_min = 1,
|
|
.channels_max = 1,
|
|
.channels_max = 1,
|
|
.rates = WM9712_AC97_RATES,
|
|
.rates = WM9712_AC97_RATES,
|
|
- .formats = SNDRV_PCM_FMTBIT_S16_LE,},
|
|
|
|
|
|
+ .formats = SND_SOC_STD_AC97_FMTS,},
|
|
.ops = &wm9712_dai_ops_aux,
|
|
.ops = &wm9712_dai_ops_aux,
|
|
}
|
|
}
|
|
};
|
|
};
|