OSDN Git Service

ASoC: sunxi: sync parameter naming (rate/sample_bits)
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 15 Jan 2021 04:55:25 +0000 (13:55 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 21 Jan 2021 12:38:09 +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/87turin6uk.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun4i-i2s.c
sound/soc/sunxi/sun8i-codec.c

index 4b8ca5b..78506c3 100644 (file)
@@ -1105,7 +1105,7 @@ static struct snd_soc_dai_driver sun4i_i2s_dai = {
                .formats = SUN4I_FORMATS,
        },
        .ops = &sun4i_i2s_dai_ops,
-       .symmetric_rates = 1,
+       .symmetric_rate = 1,
 };
 
 static const struct snd_soc_component_driver sun4i_i2s_component = {
index 180442c..460924f 100644 (file)
@@ -640,9 +640,9 @@ static struct snd_soc_dai_driver sun8i_codec_dais[] = {
                        .rates          = SUN8I_CODEC_PCM_RATES,
                        .formats        = SUN8I_CODEC_PCM_FORMATS,
                },
-               .symmetric_rates        = true,
+               .symmetric_rate         = true,
                .symmetric_channels     = true,
-               .symmetric_samplebits   = true,
+               .symmetric_sample_bits  = true,
        },
        {
                .name   = "sun8i-codec-aif2",
@@ -665,9 +665,9 @@ static struct snd_soc_dai_driver sun8i_codec_dais[] = {
                        .rates          = SUN8I_CODEC_PCM_RATES,
                        .formats        = SUN8I_CODEC_PCM_FORMATS,
                },
-               .symmetric_rates        = true,
+               .symmetric_rate         = true,
                .symmetric_channels     = true,
-               .symmetric_samplebits   = true,
+               .symmetric_sample_bits  = true,
        },
        {
                .name   = "sun8i-codec-aif3",
@@ -690,9 +690,9 @@ static struct snd_soc_dai_driver sun8i_codec_dais[] = {
                        .rates          = SUN8I_CODEC_PCM_RATES,
                        .formats        = SUN8I_CODEC_PCM_FORMATS,
                },
-               .symmetric_rates        = true,
+               .symmetric_rate         = true,
                .symmetric_channels     = true,
-               .symmetric_samplebits   = true,
+               .symmetric_sample_bits  = true,
        },
 };