]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ASoC: bcm: sync parameter naming (rate/sample_bits)
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 15 Jan 2021 04:53:23 +0000 (13:53 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 21 Jan 2021 12:37:47 +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/87r1mmolie.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/bcm/bcm2835-i2s.c
sound/soc/bcm/bcm63xx-i2s-whistler.c

index c2f7631e8705165e795a599d8b94fba2e5b5be9f..3d668f449bc1cf4cffcbd441d37bd749efb99204 100644 (file)
@@ -783,8 +783,8 @@ static struct snd_soc_dai_driver bcm2835_i2s_dai = {
                                | SNDRV_PCM_FMTBIT_S32_LE
                },
        .ops = &bcm2835_i2s_dai_ops,
-       .symmetric_rates = 1,
-       .symmetric_samplebits = 1,
+       .symmetric_rate = 1,
+       .symmetric_sample_bits = 1,
 };
 
 static bool bcm2835_i2s_volatile_reg(struct device *dev, unsigned int reg)
index 246a57ac66799898c3a2d1966114021571657845..527caf430715bc8c0a0b080d448eb26fcfa64c3f 100644 (file)
@@ -212,7 +212,7 @@ static struct snd_soc_dai_driver bcm63xx_i2s_dai = {
                .formats = SNDRV_PCM_FMTBIT_S32_LE,
        },
        .ops = &bcm63xx_i2s_dai_ops,
-       .symmetric_rates = 1,
+       .symmetric_rate = 1,
        .symmetric_channels = 1,
 };