ASoC: rockchip: sync parameter naming (rate/sample_bits)
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 15 Jan 2021 04:53:38 +0000 (13:53 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 21 Jan 2021 12:37:50 +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/87mtxaolhz.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/rockchip/rockchip_i2s.c
sound/soc/rockchip/rockchip_pdm.c

index 662de86eca1187f4052268e0c167a88a0382f8b7..0740764e7f71f27e293e80b0a3798ab83854f4a4 100644 (file)
@@ -471,7 +471,7 @@ static struct snd_soc_dai_driver rockchip_i2s_dai = {
                            SNDRV_PCM_FMTBIT_S32_LE),
        },
        .ops = &rockchip_i2s_dai_ops,
-       .symmetric_rates = 1,
+       .symmetric_rate = 1,
 };
 
 static const struct snd_soc_component_driver rockchip_i2s_component = {
index e5f732747f711910c21a26a70951d5a3ebc44c93..9295d648624e2b757c22ac98b7f084decc65bf63 100644 (file)
@@ -338,7 +338,7 @@ static struct snd_soc_dai_driver rockchip_pdm_dai = {
                .formats = ROCKCHIP_PDM_FORMATS,
        },
        .ops = &rockchip_pdm_dai_ops,
-       .symmetric_rates = 1,
+       .symmetric_rate = 1,
 };
 
 static const struct snd_soc_component_driver rockchip_pdm_component = {