ASoC: tegra: Rename set_fmt_new back to set_fmt
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Thu, 19 May 2022 15:43:12 +0000 (16:43 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 6 Jun 2022 11:34:16 +0000 (12:34 +0100)
Now the core has been migrated across to the new direct clock
specification we can move the drivers back to the normal set_fmt
callback.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220519154318.2153729-51-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/tegra/tegra20_i2s.c
sound/soc/tegra/tegra210_i2s.c
sound/soc/tegra/tegra30_i2s.c

index 9abb0e3536d82ccb46bf4d39e019070464ca2c4b..2e1a726602f025a1a2b578ce805c06f5d9b73ccd 100644 (file)
@@ -311,7 +311,7 @@ static int tegra20_i2s_startup(struct snd_pcm_substream *substream,
 }
 
 static const struct snd_soc_dai_ops tegra20_i2s_dai_ops = {
-       .set_fmt_new    = tegra20_i2s_set_fmt,
+       .set_fmt        = tegra20_i2s_set_fmt,
        .hw_params      = tegra20_i2s_hw_params,
        .trigger        = tegra20_i2s_trigger,
        .startup        = tegra20_i2s_startup,
index a304948ee3935434c2ccae59e768bbf9ba869ff3..a28945895466b05bef8192b478748a57a840c6c2 100644 (file)
@@ -678,7 +678,7 @@ static int tegra210_i2s_hw_params(struct snd_pcm_substream *substream,
 }
 
 static const struct snd_soc_dai_ops tegra210_i2s_dai_ops = {
-       .set_fmt_new    = tegra210_i2s_set_fmt,
+       .set_fmt        = tegra210_i2s_set_fmt,
        .hw_params      = tegra210_i2s_hw_params,
        .set_bclk_ratio = tegra210_i2s_set_dai_bclk_ratio,
        .set_tdm_slot   = tegra210_i2s_set_tdm_slot,
index a4ea5221de6b4ba176f69aea222ec7e990efe9d1..3aa157c82ae2363482f2724e7ae0797f49a08743 100644 (file)
@@ -304,7 +304,7 @@ static int tegra30_i2s_probe(struct snd_soc_dai *dai)
 }
 
 static const struct snd_soc_dai_ops tegra30_i2s_dai_ops = {
-       .set_fmt_new    = tegra30_i2s_set_fmt,
+       .set_fmt        = tegra30_i2s_set_fmt,
        .hw_params      = tegra30_i2s_hw_params,
        .trigger        = tegra30_i2s_trigger,
        .set_tdm_slot   = tegra30_i2s_set_tdm,