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

index d3778d2d739d8d9f6d9d453684afd971ba36b18b..e794e020052efd672d3dc548a8146c58e1a94a20 100644 (file)
@@ -387,7 +387,7 @@ static const struct snd_soc_dai_ops dw_i2s_dai_ops = {
        .hw_params      = dw_i2s_hw_params,
        .prepare        = dw_i2s_prepare,
        .trigger        = dw_i2s_trigger,
-       .set_fmt_new    = dw_i2s_set_fmt,
+       .set_fmt        = dw_i2s_set_fmt,
 };
 
 #ifdef CONFIG_PM