ASoC: ak*: sync parameter naming (rate/sample_bits)
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 15 Jan 2021 04:54:56 +0000 (13:54 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 21 Jan 2021 12:38:06 +0000 (12:38 +0000)
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/87y2gun6vc.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ak4554.c
sound/soc/codecs/ak4613.c
sound/soc/codecs/ak4641.c
sound/soc/codecs/ak4642.c

index 2fa83a1..8e60e2b 100644 (file)
@@ -56,7 +56,7 @@ static struct snd_soc_dai_driver ak4554_dai = {
                .rates = SNDRV_PCM_RATE_8000_48000,
                .formats = SNDRV_PCM_FMTBIT_S16_LE,
        },
-       .symmetric_rates = 1,
+       .symmetric_rate = 1,
 };
 
 static const struct snd_soc_component_driver soc_component_dev_ak4554 = {
index 8d663e8..fe208cf 100644 (file)
@@ -575,7 +575,7 @@ static struct snd_soc_dai_driver ak4613_dai = {
                .formats        = AK4613_PCM_FMTBIT,
        },
        .ops = &ak4613_dai_ops,
-       .symmetric_rates = 1,
+       .symmetric_rate = 1,
 };
 
 static int ak4613_suspend(struct snd_soc_component *component)
index 77004cd..04aef0e 100644 (file)
@@ -499,7 +499,7 @@ static struct snd_soc_dai_driver ak4641_dai[] = {
                .formats = AK4641_FORMATS,
        },
        .ops = &ak4641_i2s_dai_ops,
-       .symmetric_rates = 1,
+       .symmetric_rate = 1,
 },
 {
        .name = "ak4641-voice",
@@ -519,7 +519,7 @@ static struct snd_soc_dai_driver ak4641_dai[] = {
                .formats = AK4641_FORMATS,
        },
        .ops = &ak4641_pcm_dai_ops,
-       .symmetric_rates = 1,
+       .symmetric_rate = 1,
 },
 };
 
index 3532370..c49c58e 100644 (file)
@@ -516,7 +516,7 @@ static struct snd_soc_dai_driver ak4642_dai = {
                .rates = SNDRV_PCM_RATE_8000_48000,
                .formats = SNDRV_PCM_FMTBIT_S16_LE },
        .ops = &ak4642_dai_ops,
-       .symmetric_rates = 1,
+       .symmetric_rate = 1,
 };
 
 static int ak4642_suspend(struct snd_soc_component *component)