ASoC: au1x: Rename set_fmt_new back to set_fmt
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Thu, 19 May 2022 15:42:53 +0000 (16:42 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 6 Jun 2022 11:33:56 +0000 (12:33 +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-32-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/au1x/i2sc.c
sound/soc/au1x/psc-i2s.c

index 72f16b7fda3e9d8a1509ad08652670e1af1c41fe..45bb7851e75d7016adcd09ca540f8e4758a4a411 100644 (file)
@@ -206,7 +206,7 @@ static const struct snd_soc_dai_ops au1xi2s_dai_ops = {
        .startup        = au1xi2s_startup,
        .trigger        = au1xi2s_trigger,
        .hw_params      = au1xi2s_hw_params,
-       .set_fmt_new    = au1xi2s_set_fmt,
+       .set_fmt        = au1xi2s_set_fmt,
 };
 
 static struct snd_soc_dai_driver au1xi2s_dai_driver = {
index d82c1353f2f0957a1aeb68e02c8fbf659abd2303..530a072d742746abd0c9a07041aa45baaee9f3e1 100644 (file)
@@ -266,7 +266,7 @@ static const struct snd_soc_dai_ops au1xpsc_i2s_dai_ops = {
        .startup        = au1xpsc_i2s_startup,
        .trigger        = au1xpsc_i2s_trigger,
        .hw_params      = au1xpsc_i2s_hw_params,
-       .set_fmt_new    = au1xpsc_i2s_set_fmt,
+       .set_fmt        = au1xpsc_i2s_set_fmt,
 };
 
 static const struct snd_soc_dai_driver au1xpsc_i2s_dai_template = {