]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
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 5e58bfee2b491e1f8f13bd9ac37bf9903089984b..081485f784e9bc588fcfcb41ed9697919f9621a2 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 0a68f4c3d15a3d9a3cc9d0b43e6db0fba54c856b..52ba0e3a9e954c100d028096f8d24ea49dd02183 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,
 };