OSDN Git Service

ASoC: nau*: sync parameter naming (rate/sample_bits)
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 15 Jan 2021 04:54:25 +0000 (13:54 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 21 Jan 2021 12:37:59 +0000 (12:37 +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/878s8uolgo.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/nau8810.c
sound/soc/codecs/nau8822.c

index 33ebc63..13676b5 100644 (file)
@@ -837,7 +837,7 @@ static struct snd_soc_dai_driver nau8810_dai = {
                .formats = NAU8810_FORMATS,
        },
        .ops = &nau8810_ops,
-       .symmetric_rates = 1,
+       .symmetric_rate = 1,
 };
 
 static const struct regmap_config nau8810_regmap_config = {
index 609aeeb..5812339 100644 (file)
@@ -991,7 +991,7 @@ static struct snd_soc_dai_driver nau8822_dai = {
                .formats = NAU8822_FORMATS,
        },
        .ops = &nau8822_dai_ops,
-       .symmetric_rates = 1,
+       .symmetric_rate = 1,
 };
 
 static int nau8822_suspend(struct snd_soc_component *component)