ASoC: test-component: Rename set_fmt_new back to set_fmt
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Thu, 19 May 2022 15:43:13 +0000 (16:43 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 6 Jun 2022 11:34:17 +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-52-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/test-component.c

index 3a992a6eba9bb57987c2c212d9b8a6e36695ba02..d28712fabe3f6536b9f2c7221daa4a95cf2a6e3c 100644 (file)
@@ -210,7 +210,7 @@ static u64 test_dai_formats =
        SND_SOC_POSSIBLE_DAIFMT_IB_IF;
 
 static const struct snd_soc_dai_ops test_ops = {
-       .set_fmt_new            = test_dai_set_fmt,
+       .set_fmt                = test_dai_set_fmt,
        .startup                = test_dai_startup,
        .shutdown               = test_dai_shutdown,
        .auto_selectable_formats        = &test_dai_formats,
@@ -221,7 +221,7 @@ static const struct snd_soc_dai_ops test_verbose_ops = {
        .set_sysclk             = test_dai_set_sysclk,
        .set_pll                = test_dai_set_pll,
        .set_clkdiv             = test_dai_set_clkdiv,
-       .set_fmt_new            = test_dai_set_fmt,
+       .set_fmt                = test_dai_set_fmt,
        .mute_stream            = test_dai_mute_stream,
        .startup                = test_dai_startup,
        .shutdown               = test_dai_shutdown,