ASoC: cs*: sync parameter naming (rate/sample_bits)
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 15 Jan 2021 04:54:48 +0000 (13:54 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 21 Jan 2021 12:38:04 +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/871remolg1.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
18 files changed:
sound/soc/codecs/cs35l32.c
sound/soc/codecs/cs35l33.c
sound/soc/codecs/cs35l34.c
sound/soc/codecs/cs35l35.c
sound/soc/codecs/cs35l36.c
sound/soc/codecs/cs4234.c
sound/soc/codecs/cs4271.c
sound/soc/codecs/cs42l73.c
sound/soc/codecs/cs43130.c
sound/soc/codecs/cs4341.c
sound/soc/codecs/cs4349.c
sound/soc/codecs/cs47l15.c
sound/soc/codecs/cs47l24.c
sound/soc/codecs/cs47l35.c
sound/soc/codecs/cs47l85.c
sound/soc/codecs/cs47l90.c
sound/soc/codecs/cs47l92.c
sound/soc/codecs/cs53l30.c

index 3a644a3..f406723 100644 (file)
@@ -194,7 +194,7 @@ static struct snd_soc_dai_driver cs35l32_dai[] = {
                        .formats = CS35L32_FORMATS,
                },
                .ops = &cs35l32_ops,
-               .symmetric_rates = 1,
+               .symmetric_rate = 1,
        }
 };
 
index 6042194..7ad7b73 100644 (file)
@@ -691,7 +691,7 @@ static struct snd_soc_dai_driver cs35l33_dai = {
                        .formats = CS35L33_FORMATS,
                },
                .ops = &cs35l33_ops,
-               .symmetric_rates = 1,
+               .symmetric_rate = 1,
 };
 
 static int cs35l33_set_hg_data(struct snd_soc_component *component,
index b792c00..110ee2d 100644 (file)
@@ -666,7 +666,7 @@ static struct snd_soc_dai_driver cs35l34_dai = {
                        .formats = CS35L34_FORMATS,
                },
                .ops = &cs35l34_ops,
-               .symmetric_rates = 1,
+               .symmetric_rate = 1,
 };
 
 static int cs35l34_boost_inductor(struct cs35l34_private *cs35l34,
index e330427..55d529a 100644 (file)
@@ -692,7 +692,7 @@ static struct snd_soc_dai_driver cs35l35_dai[] = {
                        .formats = CS35L35_FORMATS,
                },
                .ops = &cs35l35_ops,
-               .symmetric_rates = 1,
+               .symmetric_rate = 1,
        },
        {
                .name = "cs35l35-pdm",
index e9b5f76..4451ca9 100644 (file)
@@ -995,7 +995,7 @@ static struct snd_soc_dai_driver cs35l36_dai[] = {
                        .formats = CS35L36_TX_FORMATS,
                },
                .ops = &cs35l36_ops,
-               .symmetric_rates = 1,
+               .symmetric_rate = 1,
        },
 };
 
index 2ea8323..20126cc 100644 (file)
@@ -585,7 +585,7 @@ static struct snd_soc_dai_driver cs4234_dai[] = {
                        .formats = CS4234_FORMATS,
                },
                .ops = &cs4234_dai_ops,
-               .symmetric_rates = 1,
+               .symmetric_rate = 1,
        },
 };
 
index d43762a..7663f89 100644 (file)
@@ -481,7 +481,7 @@ static struct snd_soc_dai_driver cs4271_dai = {
                .formats        = CS4271_PCM_FORMATS,
        },
        .ops = &cs4271_dai_ops,
-       .symmetric_rates = 1,
+       .symmetric_rate = 1,
 };
 
 static int cs4271_reset(struct snd_soc_component *component)
index 988ca7e..c3f974e 100644 (file)
@@ -1181,7 +1181,7 @@ static struct snd_soc_dai_driver cs42l73_dai[] = {
                        .formats = CS42L73_FORMATS,
                },
                .ops = &cs42l73_ops,
-               .symmetric_rates = 1,
+               .symmetric_rate = 1,
         },
        {
                .name = "cs42l73-asp",
@@ -1201,7 +1201,7 @@ static struct snd_soc_dai_driver cs42l73_dai[] = {
                        .formats = CS42L73_FORMATS,
                },
                .ops = &cs42l73_ops,
-               .symmetric_rates = 1,
+               .symmetric_rate = 1,
         },
        {
                .name = "cs42l73-vsp",
@@ -1221,7 +1221,7 @@ static struct snd_soc_dai_driver cs42l73_dai[] = {
                        .formats = CS42L73_FORMATS,
                },
                .ops = &cs42l73_ops,
-               .symmetric_rates = 1,
+               .symmetric_rate = 1,
         }
 };
 
index 7fb3442..80bc7c1 100644 (file)
@@ -1581,7 +1581,7 @@ static struct snd_soc_dai_driver cs43130_dai[] = {
                        .formats = CS43130_PCM_FORMATS,
                },
                .ops = &cs43130_pcm_ops,
-               .symmetric_rates = 1,
+               .symmetric_rate = 1,
        },
        {
                .name = "cs43130-asp-dop",
@@ -1594,7 +1594,7 @@ static struct snd_soc_dai_driver cs43130_dai[] = {
                        .formats = CS43130_DOP_FORMATS,
                },
                .ops = &cs43130_dop_ops,
-               .symmetric_rates = 1,
+               .symmetric_rate = 1,
        },
        {
                .name = "cs43130-xsp-dop",
@@ -1607,7 +1607,7 @@ static struct snd_soc_dai_driver cs43130_dai[] = {
                        .formats = CS43130_DOP_FORMATS,
                },
                .ops = &cs43130_dop_ops,
-               .symmetric_rates = 1,
+               .symmetric_rate = 1,
        },
        {
                .name = "cs43130-xsp-dsd",
index f566604..7d3e54d 100644 (file)
@@ -189,7 +189,7 @@ static struct snd_soc_dai_driver cs4341_dai = {
                                  SNDRV_PCM_FMTBIT_S24_LE,
        },
        .ops                    = &cs4341_dai_ops,
-       .symmetric_rates        = 1,
+       .symmetric_rate         = 1,
 };
 
 static const struct snd_soc_component_driver soc_component_cs4341 = {
index fd55263..786c69a 100644 (file)
@@ -250,7 +250,7 @@ static struct snd_soc_dai_driver cs4349_dai = {
                .formats        = CS4349_PCM_FORMATS,
        },
        .ops = &cs4349_dai_ops,
-       .symmetric_rates = 1,
+       .symmetric_rate = 1,
 };
 
 static const struct snd_soc_component_driver soc_component_dev_cs4349 = {
index 254f9d9..1ee8316 100644 (file)
@@ -1160,8 +1160,8 @@ static struct snd_soc_dai_driver cs47l15_dai[] = {
                        .formats = MADERA_FORMATS,
                 },
                .ops = &madera_dai_ops,
-               .symmetric_rates = 1,
-               .symmetric_samplebits = 1,
+               .symmetric_rate = 1,
+               .symmetric_sample_bits = 1,
        },
        {
                .name = "cs47l15-aif2",
@@ -1182,8 +1182,8 @@ static struct snd_soc_dai_driver cs47l15_dai[] = {
                        .formats = MADERA_FORMATS,
                 },
                .ops = &madera_dai_ops,
-               .symmetric_rates = 1,
-               .symmetric_samplebits = 1,
+               .symmetric_rate = 1,
+               .symmetric_sample_bits = 1,
        },
        {
                .name = "cs47l15-aif3",
@@ -1204,8 +1204,8 @@ static struct snd_soc_dai_driver cs47l15_dai[] = {
                        .formats = MADERA_FORMATS,
                 },
                .ops = &madera_dai_ops,
-               .symmetric_rates = 1,
-               .symmetric_samplebits = 1,
+               .symmetric_rate = 1,
+               .symmetric_sample_bits = 1,
        },
        {
                .name = "cs47l15-cpu-trace",
index f6d173d..eaabbb5 100644 (file)
@@ -977,8 +977,8 @@ static struct snd_soc_dai_driver cs47l24_dai[] = {
                         .formats = CS47L24_FORMATS,
                 },
                .ops = &arizona_dai_ops,
-               .symmetric_rates = 1,
-               .symmetric_samplebits = 1,
+               .symmetric_rate = 1,
+               .symmetric_sample_bits = 1,
        },
        {
                .name = "cs47l24-aif2",
@@ -999,8 +999,8 @@ static struct snd_soc_dai_driver cs47l24_dai[] = {
                         .formats = CS47L24_FORMATS,
                 },
                .ops = &arizona_dai_ops,
-               .symmetric_rates = 1,
-               .symmetric_samplebits = 1,
+               .symmetric_rate = 1,
+               .symmetric_sample_bits = 1,
        },
        {
                .name = "cs47l24-aif3",
@@ -1021,8 +1021,8 @@ static struct snd_soc_dai_driver cs47l24_dai[] = {
                         .formats = CS47L24_FORMATS,
                 },
                .ops = &arizona_dai_ops,
-               .symmetric_rates = 1,
-               .symmetric_samplebits = 1,
+               .symmetric_rate = 1,
+               .symmetric_sample_bits = 1,
        },
        {
                .name = "cs47l24-cpu-voicectrl",
index e967609..3f04a2a 100644 (file)
@@ -1368,8 +1368,8 @@ static struct snd_soc_dai_driver cs47l35_dai[] = {
                        .formats = MADERA_FORMATS,
                 },
                .ops = &madera_dai_ops,
-               .symmetric_rates = 1,
-               .symmetric_samplebits = 1,
+               .symmetric_rate = 1,
+               .symmetric_sample_bits = 1,
        },
        {
                .name = "cs47l35-aif2",
@@ -1390,8 +1390,8 @@ static struct snd_soc_dai_driver cs47l35_dai[] = {
                        .formats = MADERA_FORMATS,
                 },
                .ops = &madera_dai_ops,
-               .symmetric_rates = 1,
-               .symmetric_samplebits = 1,
+               .symmetric_rate = 1,
+               .symmetric_sample_bits = 1,
        },
        {
                .name = "cs47l35-aif3",
@@ -1412,8 +1412,8 @@ static struct snd_soc_dai_driver cs47l35_dai[] = {
                        .formats = MADERA_FORMATS,
                 },
                .ops = &madera_dai_ops,
-               .symmetric_rates = 1,
-               .symmetric_samplebits = 1,
+               .symmetric_rate = 1,
+               .symmetric_sample_bits = 1,
        },
        {
                .name = "cs47l35-slim1",
index 47b1646..748a180 100644 (file)
@@ -2269,8 +2269,8 @@ static struct snd_soc_dai_driver cs47l85_dai[] = {
                        .formats = MADERA_FORMATS,
                 },
                .ops = &madera_dai_ops,
-               .symmetric_rates = 1,
-               .symmetric_samplebits = 1,
+               .symmetric_rate = 1,
+               .symmetric_sample_bits = 1,
        },
        {
                .name = "cs47l85-aif2",
@@ -2291,8 +2291,8 @@ static struct snd_soc_dai_driver cs47l85_dai[] = {
                        .formats = MADERA_FORMATS,
                 },
                .ops = &madera_dai_ops,
-               .symmetric_rates = 1,
-               .symmetric_samplebits = 1,
+               .symmetric_rate = 1,
+               .symmetric_sample_bits = 1,
        },
        {
                .name = "cs47l85-aif3",
@@ -2313,8 +2313,8 @@ static struct snd_soc_dai_driver cs47l85_dai[] = {
                        .formats = MADERA_FORMATS,
                 },
                .ops = &madera_dai_ops,
-               .symmetric_rates = 1,
-               .symmetric_samplebits = 1,
+               .symmetric_rate = 1,
+               .symmetric_sample_bits = 1,
        },
        {
                .name = "cs47l85-aif4",
@@ -2335,8 +2335,8 @@ static struct snd_soc_dai_driver cs47l85_dai[] = {
                        .formats = MADERA_FORMATS,
                 },
                .ops = &madera_dai_ops,
-               .symmetric_rates = 1,
-               .symmetric_samplebits = 1,
+               .symmetric_rate = 1,
+               .symmetric_sample_bits = 1,
        },
        {
                .name = "cs47l85-slim1",
index 8838dd5..d2911c0 100644 (file)
@@ -2188,8 +2188,8 @@ static struct snd_soc_dai_driver cs47l90_dai[] = {
                        .formats = MADERA_FORMATS,
                 },
                .ops = &madera_dai_ops,
-               .symmetric_rates = 1,
-               .symmetric_samplebits = 1,
+               .symmetric_rate = 1,
+               .symmetric_sample_bits = 1,
        },
        {
                .name = "cs47l90-aif2",
@@ -2210,8 +2210,8 @@ static struct snd_soc_dai_driver cs47l90_dai[] = {
                        .formats = MADERA_FORMATS,
                 },
                .ops = &madera_dai_ops,
-               .symmetric_rates = 1,
-               .symmetric_samplebits = 1,
+               .symmetric_rate = 1,
+               .symmetric_sample_bits = 1,
        },
        {
                .name = "cs47l90-aif3",
@@ -2232,8 +2232,8 @@ static struct snd_soc_dai_driver cs47l90_dai[] = {
                        .formats = MADERA_FORMATS,
                 },
                .ops = &madera_dai_ops,
-               .symmetric_rates = 1,
-               .symmetric_samplebits = 1,
+               .symmetric_rate = 1,
+               .symmetric_sample_bits = 1,
        },
        {
                .name = "cs47l90-aif4",
@@ -2254,8 +2254,8 @@ static struct snd_soc_dai_driver cs47l90_dai[] = {
                        .formats = MADERA_FORMATS,
                 },
                .ops = &madera_dai_ops,
-               .symmetric_rates = 1,
-               .symmetric_samplebits = 1,
+               .symmetric_rate = 1,
+               .symmetric_sample_bits = 1,
        },
        {
                .name = "cs47l90-slim1",
index 52dc299..1a02804 100644 (file)
@@ -1704,8 +1704,8 @@ static struct snd_soc_dai_driver cs47l92_dai[] = {
                        .formats = MADERA_FORMATS,
                 },
                .ops = &madera_dai_ops,
-               .symmetric_rates = 1,
-               .symmetric_samplebits = 1,
+               .symmetric_rate = 1,
+               .symmetric_sample_bits = 1,
        },
        {
                .name = "cs47l92-aif2",
@@ -1726,8 +1726,8 @@ static struct snd_soc_dai_driver cs47l92_dai[] = {
                        .formats = MADERA_FORMATS,
                 },
                .ops = &madera_dai_ops,
-               .symmetric_rates = 1,
-               .symmetric_samplebits = 1,
+               .symmetric_rate = 1,
+               .symmetric_sample_bits = 1,
        },
        {
                .name = "cs47l92-aif3",
@@ -1748,8 +1748,8 @@ static struct snd_soc_dai_driver cs47l92_dai[] = {
                        .formats = MADERA_FORMATS,
                 },
                .ops = &madera_dai_ops,
-               .symmetric_rates = 1,
-               .symmetric_samplebits = 1,
+               .symmetric_rate = 1,
+               .symmetric_sample_bits = 1,
        },
        {
                .name = "cs47l92-slim1",
index ed22361..3d67cbf 100644 (file)
@@ -869,7 +869,7 @@ static struct snd_soc_dai_driver cs53l30_dai = {
                .formats = CS53L30_FORMATS,
        },
        .ops = &cs53l30_ops,
-       .symmetric_rates = 1,
+       .symmetric_rate = 1,
 };
 
 static int cs53l30_component_probe(struct snd_soc_component *component)