ASoC: wm*: sync parameter naming (rate/sample_bits)
This patch syncs naming rule. - xxx_rates; + xxx_rate; - xxx_samplebits; + xxx_sample_bits; Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/87czy6olh0.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
cb2f6927fa
commit
0769575294
|
@ -1780,8 +1780,8 @@ static struct snd_soc_dai_driver wm5102_dai[] = {
|
|||
.formats = WM5102_FORMATS,
|
||||
},
|
||||
.ops = &arizona_dai_ops,
|
||||
.symmetric_rates = 1,
|
||||
.symmetric_samplebits = 1,
|
||||
.symmetric_rate = 1,
|
||||
.symmetric_sample_bits = 1,
|
||||
},
|
||||
{
|
||||
.name = "wm5102-aif2",
|
||||
|
@ -1802,8 +1802,8 @@ static struct snd_soc_dai_driver wm5102_dai[] = {
|
|||
.formats = WM5102_FORMATS,
|
||||
},
|
||||
.ops = &arizona_dai_ops,
|
||||
.symmetric_rates = 1,
|
||||
.symmetric_samplebits = 1,
|
||||
.symmetric_rate = 1,
|
||||
.symmetric_sample_bits = 1,
|
||||
},
|
||||
{
|
||||
.name = "wm5102-aif3",
|
||||
|
@ -1824,8 +1824,8 @@ static struct snd_soc_dai_driver wm5102_dai[] = {
|
|||
.formats = WM5102_FORMATS,
|
||||
},
|
||||
.ops = &arizona_dai_ops,
|
||||
.symmetric_rates = 1,
|
||||
.symmetric_samplebits = 1,
|
||||
.symmetric_rate = 1,
|
||||
.symmetric_sample_bits = 1,
|
||||
},
|
||||
{
|
||||
.name = "wm5102-slim1",
|
||||
|
|
|
@ -2089,8 +2089,8 @@ static struct snd_soc_dai_driver wm5110_dai[] = {
|
|||
.formats = WM5110_FORMATS,
|
||||
},
|
||||
.ops = &arizona_dai_ops,
|
||||
.symmetric_rates = 1,
|
||||
.symmetric_samplebits = 1,
|
||||
.symmetric_rate = 1,
|
||||
.symmetric_sample_bits = 1,
|
||||
},
|
||||
{
|
||||
.name = "wm5110-aif2",
|
||||
|
@ -2111,8 +2111,8 @@ static struct snd_soc_dai_driver wm5110_dai[] = {
|
|||
.formats = WM5110_FORMATS,
|
||||
},
|
||||
.ops = &arizona_dai_ops,
|
||||
.symmetric_rates = 1,
|
||||
.symmetric_samplebits = 1,
|
||||
.symmetric_rate = 1,
|
||||
.symmetric_sample_bits = 1,
|
||||
},
|
||||
{
|
||||
.name = "wm5110-aif3",
|
||||
|
@ -2133,8 +2133,8 @@ static struct snd_soc_dai_driver wm5110_dai[] = {
|
|||
.formats = WM5110_FORMATS,
|
||||
},
|
||||
.ops = &arizona_dai_ops,
|
||||
.symmetric_rates = 1,
|
||||
.symmetric_samplebits = 1,
|
||||
.symmetric_rate = 1,
|
||||
.symmetric_sample_bits = 1,
|
||||
},
|
||||
{
|
||||
.name = "wm5110-slim1",
|
||||
|
|
|
@ -569,7 +569,7 @@ static struct snd_soc_dai_driver wm8510_dai = {
|
|||
.rates = WM8510_RATES,
|
||||
.formats = WM8510_FORMATS,},
|
||||
.ops = &wm8510_dai_ops,
|
||||
.symmetric_rates = 1,
|
||||
.symmetric_rate = 1,
|
||||
};
|
||||
|
||||
static int wm8510_probe(struct snd_soc_component *component)
|
||||
|
|
|
@ -567,7 +567,7 @@ static struct snd_soc_dai_driver wm8731_dai = {
|
|||
.rates = WM8731_RATES,
|
||||
.formats = WM8731_FORMATS,},
|
||||
.ops = &wm8731_dai_ops,
|
||||
.symmetric_rates = 1,
|
||||
.symmetric_rate = 1,
|
||||
};
|
||||
|
||||
static int wm8731_request_supplies(struct device *dev,
|
||||
|
|
|
@ -562,7 +562,7 @@ static struct snd_soc_dai_driver wm8770_dai = {
|
|||
.formats = WM8770_FORMATS
|
||||
},
|
||||
.ops = &wm8770_dai_ops,
|
||||
.symmetric_rates = 1
|
||||
.symmetric_rate = 1
|
||||
};
|
||||
|
||||
static int wm8770_probe(struct snd_soc_component *component)
|
||||
|
|
|
@ -536,7 +536,7 @@ static struct snd_soc_dai_driver wm8804_dai = {
|
|||
.formats = WM8804_FORMATS,
|
||||
},
|
||||
.ops = &wm8804_dai_ops,
|
||||
.symmetric_rates = 1
|
||||
.symmetric_rate = 1
|
||||
};
|
||||
|
||||
static const struct snd_soc_component_driver soc_component_dev_wm8804 = {
|
||||
|
|
|
@ -1760,7 +1760,7 @@ static struct snd_soc_dai_driver wm8903_dai = {
|
|||
.formats = WM8903_FORMATS,
|
||||
},
|
||||
.ops = &wm8903_dai_ops,
|
||||
.symmetric_rates = 1,
|
||||
.symmetric_rate = 1,
|
||||
};
|
||||
|
||||
static int wm8903_resume(struct snd_soc_component *component)
|
||||
|
|
|
@ -1983,7 +1983,7 @@ static struct snd_soc_dai_driver wm8904_dai = {
|
|||
.formats = WM8904_FORMATS,
|
||||
},
|
||||
.ops = &wm8904_dai_ops,
|
||||
.symmetric_rates = 1,
|
||||
.symmetric_rate = 1,
|
||||
};
|
||||
|
||||
static void wm8904_handle_retune_mobile_pdata(struct snd_soc_component *component)
|
||||
|
|
|
@ -688,7 +688,7 @@ static struct snd_soc_dai_driver wm8940_dai = {
|
|||
.formats = WM8940_FORMATS,
|
||||
},
|
||||
.ops = &wm8940_dai_ops,
|
||||
.symmetric_rates = 1,
|
||||
.symmetric_rate = 1,
|
||||
};
|
||||
|
||||
static int wm8940_probe(struct snd_soc_component *component)
|
||||
|
|
|
@ -1338,7 +1338,7 @@ static struct snd_soc_dai_driver wm8960_dai = {
|
|||
.rates = WM8960_RATES,
|
||||
.formats = WM8960_FORMATS,},
|
||||
.ops = &wm8960_dai_ops,
|
||||
.symmetric_rates = 1,
|
||||
.symmetric_rate = 1,
|
||||
};
|
||||
|
||||
static int wm8960_probe(struct snd_soc_component *component)
|
||||
|
|
|
@ -2973,7 +2973,7 @@ static struct snd_soc_dai_driver wm8962_dai = {
|
|||
.formats = WM8962_FORMATS,
|
||||
},
|
||||
.ops = &wm8962_dai_ops,
|
||||
.symmetric_rates = 1,
|
||||
.symmetric_rate = 1,
|
||||
};
|
||||
|
||||
static void wm8962_mic_work(struct work_struct *work)
|
||||
|
|
|
@ -643,7 +643,7 @@ static struct snd_soc_dai_driver wm8974_dai = {
|
|||
.rates = WM8974_RATES,
|
||||
.formats = WM8974_FORMATS,},
|
||||
.ops = &wm8974_ops,
|
||||
.symmetric_rates = 1,
|
||||
.symmetric_rate = 1,
|
||||
};
|
||||
|
||||
static const struct regmap_config wm8974_regmap = {
|
||||
|
|
|
@ -918,7 +918,7 @@ static struct snd_soc_dai_driver wm8978_dai = {
|
|||
.formats = WM8978_FORMATS,
|
||||
},
|
||||
.ops = &wm8978_dai_ops,
|
||||
.symmetric_rates = 1,
|
||||
.symmetric_rate = 1,
|
||||
};
|
||||
|
||||
static int wm8978_suspend(struct snd_soc_component *component)
|
||||
|
|
|
@ -971,7 +971,7 @@ static struct snd_soc_dai_driver wm8983_dai = {
|
|||
.formats = WM8983_FORMATS,
|
||||
},
|
||||
.ops = &wm8983_dai_ops,
|
||||
.symmetric_rates = 1
|
||||
.symmetric_rate = 1
|
||||
};
|
||||
|
||||
static const struct snd_soc_component_driver soc_component_dev_wm8983 = {
|
||||
|
|
|
@ -1100,7 +1100,7 @@ static struct snd_soc_dai_driver wm8985_dai = {
|
|||
.formats = WM8985_FORMATS,
|
||||
},
|
||||
.ops = &wm8985_dai_ops,
|
||||
.symmetric_rates = 1
|
||||
.symmetric_rate = 1
|
||||
};
|
||||
|
||||
static const struct snd_soc_component_driver soc_component_dev_wm8985 = {
|
||||
|
|
|
@ -787,7 +787,7 @@ static struct snd_soc_dai_driver wm8988_dai = {
|
|||
.formats = WM8988_FORMATS,
|
||||
},
|
||||
.ops = &wm8988_ops,
|
||||
.symmetric_rates = 1,
|
||||
.symmetric_rate = 1,
|
||||
};
|
||||
|
||||
static int wm8988_probe(struct snd_soc_component *component)
|
||||
|
|
|
@ -1476,7 +1476,7 @@ static struct snd_soc_dai_driver wm8993_dai = {
|
|||
.sig_bits = 24,
|
||||
},
|
||||
.ops = &wm8993_ops,
|
||||
.symmetric_rates = 1,
|
||||
.symmetric_rate = 1,
|
||||
};
|
||||
|
||||
static int wm8993_probe(struct snd_soc_component *component)
|
||||
|
|
|
@ -4351,7 +4351,7 @@ static int wm8994_component_probe(struct snd_soc_component *component)
|
|||
}
|
||||
if ((reg & WM8994_GPN_FN_MASK) != WM8994_GP_FN_PIN_SPECIFIC) {
|
||||
wm8994->lrclk_shared[0] = 1;
|
||||
wm8994_dai[0].symmetric_rates = 1;
|
||||
wm8994_dai[0].symmetric_rate = 1;
|
||||
} else {
|
||||
wm8994->lrclk_shared[0] = 0;
|
||||
}
|
||||
|
@ -4363,7 +4363,7 @@ static int wm8994_component_probe(struct snd_soc_component *component)
|
|||
}
|
||||
if ((reg & WM8994_GPN_FN_MASK) != WM8994_GP_FN_PIN_SPECIFIC) {
|
||||
wm8994->lrclk_shared[1] = 1;
|
||||
wm8994_dai[1].symmetric_rates = 1;
|
||||
wm8994_dai[1].symmetric_rate = 1;
|
||||
} else {
|
||||
wm8994->lrclk_shared[1] = 0;
|
||||
}
|
||||
|
|
|
@ -969,8 +969,8 @@ static struct snd_soc_dai_driver wm8997_dai[] = {
|
|||
.formats = WM8997_FORMATS,
|
||||
},
|
||||
.ops = &arizona_dai_ops,
|
||||
.symmetric_rates = 1,
|
||||
.symmetric_samplebits = 1,
|
||||
.symmetric_rate = 1,
|
||||
.symmetric_sample_bits = 1,
|
||||
},
|
||||
{
|
||||
.name = "wm8997-aif2",
|
||||
|
@ -991,8 +991,8 @@ static struct snd_soc_dai_driver wm8997_dai[] = {
|
|||
.formats = WM8997_FORMATS,
|
||||
},
|
||||
.ops = &arizona_dai_ops,
|
||||
.symmetric_rates = 1,
|
||||
.symmetric_samplebits = 1,
|
||||
.symmetric_rate = 1,
|
||||
.symmetric_sample_bits = 1,
|
||||
},
|
||||
{
|
||||
.name = "wm8997-slim1",
|
||||
|
|
|
@ -1161,8 +1161,8 @@ static struct snd_soc_dai_driver wm8998_dai[] = {
|
|||
.formats = WM8998_FORMATS,
|
||||
},
|
||||
.ops = &arizona_dai_ops,
|
||||
.symmetric_rates = 1,
|
||||
.symmetric_samplebits = 1,
|
||||
.symmetric_rate = 1,
|
||||
.symmetric_sample_bits = 1,
|
||||
},
|
||||
{
|
||||
.name = "wm8998-aif2",
|
||||
|
@ -1183,8 +1183,8 @@ static struct snd_soc_dai_driver wm8998_dai[] = {
|
|||
.formats = WM8998_FORMATS,
|
||||
},
|
||||
.ops = &arizona_dai_ops,
|
||||
.symmetric_rates = 1,
|
||||
.symmetric_samplebits = 1,
|
||||
.symmetric_rate = 1,
|
||||
.symmetric_sample_bits = 1,
|
||||
},
|
||||
{
|
||||
.name = "wm8998-aif3",
|
||||
|
@ -1205,8 +1205,8 @@ static struct snd_soc_dai_driver wm8998_dai[] = {
|
|||
.formats = WM8998_FORMATS,
|
||||
},
|
||||
.ops = &arizona_dai_ops,
|
||||
.symmetric_rates = 1,
|
||||
.symmetric_samplebits = 1,
|
||||
.symmetric_rate = 1,
|
||||
.symmetric_sample_bits = 1,
|
||||
},
|
||||
{
|
||||
.name = "wm8998-slim1",
|
||||
|
|
|
@ -1134,7 +1134,7 @@ static struct snd_soc_dai_driver wm9713_dai[] = {
|
|||
.rates = WM9713_PCM_RATES,
|
||||
.formats = WM9713_PCM_FORMATS,},
|
||||
.ops = &wm9713_dai_ops_voice,
|
||||
.symmetric_rates = 1,
|
||||
.symmetric_rate = 1,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue