Commit 4b7ead03 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown

ASoC: mediatek: sync parameter naming (rate/sample_bits)

This patch syncs naming rule.

 - xxx_rates;
 + xxx_rate;

 - xxx_samplebits;
 + xxx_sample_bits;
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87ft32olha.wl-kuninori.morimoto.gx@renesas.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent c658b218
...@@ -655,7 +655,7 @@ static struct snd_soc_dai_driver mt2701_afe_pcm_dais[] = { ...@@ -655,7 +655,7 @@ static struct snd_soc_dai_driver mt2701_afe_pcm_dais[] = {
}, },
.ops = &mt2701_afe_i2s_ops, .ops = &mt2701_afe_i2s_ops,
.symmetric_rates = 1, .symmetric_rate = 1,
}, },
{ {
.name = "I2S1", .name = "I2S1",
...@@ -679,7 +679,7 @@ static struct snd_soc_dai_driver mt2701_afe_pcm_dais[] = { ...@@ -679,7 +679,7 @@ static struct snd_soc_dai_driver mt2701_afe_pcm_dais[] = {
| SNDRV_PCM_FMTBIT_S32_LE) | SNDRV_PCM_FMTBIT_S32_LE)
}, },
.ops = &mt2701_afe_i2s_ops, .ops = &mt2701_afe_i2s_ops,
.symmetric_rates = 1, .symmetric_rate = 1,
}, },
{ {
.name = "I2S2", .name = "I2S2",
...@@ -703,7 +703,7 @@ static struct snd_soc_dai_driver mt2701_afe_pcm_dais[] = { ...@@ -703,7 +703,7 @@ static struct snd_soc_dai_driver mt2701_afe_pcm_dais[] = {
| SNDRV_PCM_FMTBIT_S32_LE) | SNDRV_PCM_FMTBIT_S32_LE)
}, },
.ops = &mt2701_afe_i2s_ops, .ops = &mt2701_afe_i2s_ops,
.symmetric_rates = 1, .symmetric_rate = 1,
}, },
{ {
.name = "I2S3", .name = "I2S3",
...@@ -727,7 +727,7 @@ static struct snd_soc_dai_driver mt2701_afe_pcm_dais[] = { ...@@ -727,7 +727,7 @@ static struct snd_soc_dai_driver mt2701_afe_pcm_dais[] = {
| SNDRV_PCM_FMTBIT_S32_LE) | SNDRV_PCM_FMTBIT_S32_LE)
}, },
.ops = &mt2701_afe_i2s_ops, .ops = &mt2701_afe_i2s_ops,
.symmetric_rates = 1, .symmetric_rate = 1,
}, },
{ {
.name = "MRG BT", .name = "MRG BT",
...@@ -749,7 +749,7 @@ static struct snd_soc_dai_driver mt2701_afe_pcm_dais[] = { ...@@ -749,7 +749,7 @@ static struct snd_soc_dai_driver mt2701_afe_pcm_dais[] = {
.formats = SNDRV_PCM_FMTBIT_S16_LE, .formats = SNDRV_PCM_FMTBIT_S16_LE,
}, },
.ops = &mt2701_btmrg_ops, .ops = &mt2701_btmrg_ops,
.symmetric_rates = 1, .symmetric_rate = 1,
} }
}; };
......
...@@ -270,8 +270,8 @@ static struct snd_soc_dai_driver mtk_dai_pcm_driver[] = { ...@@ -270,8 +270,8 @@ static struct snd_soc_dai_driver mtk_dai_pcm_driver[] = {
.formats = MTK_PCM_FORMATS, .formats = MTK_PCM_FORMATS,
}, },
.ops = &mtk_dai_pcm_ops, .ops = &mtk_dai_pcm_ops,
.symmetric_rates = 1, .symmetric_rate = 1,
.symmetric_samplebits = 1, .symmetric_sample_bits = 1,
}, },
{ {
.name = "PCM 2", .name = "PCM 2",
...@@ -291,8 +291,8 @@ static struct snd_soc_dai_driver mtk_dai_pcm_driver[] = { ...@@ -291,8 +291,8 @@ static struct snd_soc_dai_driver mtk_dai_pcm_driver[] = {
.formats = MTK_PCM_FORMATS, .formats = MTK_PCM_FORMATS,
}, },
.ops = &mtk_dai_pcm_ops, .ops = &mtk_dai_pcm_ops,
.symmetric_rates = 1, .symmetric_rate = 1,
.symmetric_samplebits = 1, .symmetric_sample_bits = 1,
}, },
}; };
......
...@@ -571,7 +571,7 @@ static struct snd_soc_dai_driver mt8173_afe_pcm_dais[] = { ...@@ -571,7 +571,7 @@ static struct snd_soc_dai_driver mt8173_afe_pcm_dais[] = {
.formats = SNDRV_PCM_FMTBIT_S16_LE, .formats = SNDRV_PCM_FMTBIT_S16_LE,
}, },
.ops = &mt8173_afe_i2s_ops, .ops = &mt8173_afe_i2s_ops,
.symmetric_rates = 1, .symmetric_rate = 1,
}, },
}; };
......
...@@ -270,8 +270,8 @@ static struct snd_soc_dai_driver mtk_dai_pcm_driver[] = { ...@@ -270,8 +270,8 @@ static struct snd_soc_dai_driver mtk_dai_pcm_driver[] = {
.formats = MTK_PCM_FORMATS, .formats = MTK_PCM_FORMATS,
}, },
.ops = &mtk_dai_pcm_ops, .ops = &mtk_dai_pcm_ops,
.symmetric_rates = 1, .symmetric_rate = 1,
.symmetric_samplebits = 1, .symmetric_sample_bits = 1,
}, },
{ {
.name = "PCM 2", .name = "PCM 2",
...@@ -291,8 +291,8 @@ static struct snd_soc_dai_driver mtk_dai_pcm_driver[] = { ...@@ -291,8 +291,8 @@ static struct snd_soc_dai_driver mtk_dai_pcm_driver[] = {
.formats = MTK_PCM_FORMATS, .formats = MTK_PCM_FORMATS,
}, },
.ops = &mtk_dai_pcm_ops, .ops = &mtk_dai_pcm_ops,
.symmetric_rates = 1, .symmetric_rate = 1,
.symmetric_samplebits = 1, .symmetric_sample_bits = 1,
}, },
}; };
......
...@@ -360,8 +360,8 @@ static struct snd_soc_dai_driver mtk_dai_pcm_driver[] = { ...@@ -360,8 +360,8 @@ static struct snd_soc_dai_driver mtk_dai_pcm_driver[] = {
.formats = MTK_PCM_FORMATS, .formats = MTK_PCM_FORMATS,
}, },
.ops = &mtk_dai_pcm_ops, .ops = &mtk_dai_pcm_ops,
.symmetric_rates = 1, .symmetric_rate = 1,
.symmetric_samplebits = 1, .symmetric_sample_bits = 1,
}, },
{ {
.name = "PCM 2", .name = "PCM 2",
...@@ -381,8 +381,8 @@ static struct snd_soc_dai_driver mtk_dai_pcm_driver[] = { ...@@ -381,8 +381,8 @@ static struct snd_soc_dai_driver mtk_dai_pcm_driver[] = {
.formats = MTK_PCM_FORMATS, .formats = MTK_PCM_FORMATS,
}, },
.ops = &mtk_dai_pcm_ops, .ops = &mtk_dai_pcm_ops,
.symmetric_rates = 1, .symmetric_rate = 1,
.symmetric_samplebits = 1, .symmetric_sample_bits = 1,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment