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

index 51f98ae651a6b3f53b53210f3fdb17595a3d1d65..689ae13f34f5b9c26eb21c7acbfde4904ce48ce5 100644 (file)
@@ -513,7 +513,7 @@ static int hi6210_i2s_dai_probe(struct snd_soc_dai *dai)
 static const struct snd_soc_dai_ops hi6210_i2s_dai_ops = {
        .trigger        = hi6210_i2s_trigger,
        .hw_params      = hi6210_i2s_hw_params,
-       .set_fmt_new    = hi6210_i2s_set_fmt,
+       .set_fmt        = hi6210_i2s_set_fmt,
        .startup        = hi6210_i2s_startup,
        .shutdown       = hi6210_i2s_shutdown,
 };