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

index 5e58bfe..081485f 100644 (file)
@@ -214,7 +214,7 @@ static struct snd_soc_dai_driver jz4740_codec_dai = {
                .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8,
        },
        .ops = &jz4740_codec_dai_ops,
-       .symmetric_rates = 1,
+       .symmetric_rate = 1,
 };
 
 static void jz4740_codec_wakeup(struct regmap *regmap)
index 0a68f4c..52ba0e3 100644 (file)
@@ -455,7 +455,7 @@ static struct snd_soc_dai_driver jz4740_i2s_dai = {
                .rates = SNDRV_PCM_RATE_8000_48000,
                .formats = JZ4740_I2S_FMTS,
        },
-       .symmetric_rates = 1,
+       .symmetric_rate = 1,
        .ops = &jz4740_i2s_dai_ops,
 };