v5.12: symmetric_rates renamed symmetric_rate
commit fa31a2c787aeaf61d02b2a57bd9765ca5e67d949 Author: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Date: Fri Jan 15 13:56:30 2021 +0900 ASoC: soc-dai.h: remove symmetric_rates/samplebits All drivers are using new name. Let's remove old one. commit f14654ddf2e982537ab476d392a87fcbf90374c3 Author: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Date: Fri Jan 15 13:52:54 2021 +0900 ASoC: sync parameter naming : rate / sample_bits snd_pcm_runtime / snd_soc_dai / snd_soc_dai_driver / snd_soc_dai_link have related parameter which is similar but not same naming.
This commit is contained in:
parent
31d750c981
commit
a1a51f8aab
1 changed files with 4 additions and 0 deletions
4
wm8960.c
4
wm8960.c
|
@ -1259,7 +1259,11 @@ static struct snd_soc_dai_driver wm8960_dai = {
|
||||||
.rates = WM8960_RATES,
|
.rates = WM8960_RATES,
|
||||||
.formats = WM8960_FORMATS,},
|
.formats = WM8960_FORMATS,},
|
||||||
.ops = &wm8960_dai_ops,
|
.ops = &wm8960_dai_ops,
|
||||||
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,12,0)
|
||||||
|
.symmetric_rate = 1,
|
||||||
|
#else
|
||||||
.symmetric_rates = 1,
|
.symmetric_rates = 1,
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static int wm8960_probe(struct snd_soc_codec *codec)
|
static int wm8960_probe(struct snd_soc_codec *codec)
|
||||||
|
|
Loading…
Reference in a new issue