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

index 79e733bc0ae69b3bf71d0f1fb18d5eae56f7a0f5..97cab6d95b169f91d5eec814f215c1f7ca9a0f5c 100644 (file)
@@ -373,7 +373,7 @@ static int img_i2s_in_set_fmt(struct snd_soc_dai *dai, unsigned int fmt)
 static const struct snd_soc_dai_ops img_i2s_in_dai_ops = {
        .trigger = img_i2s_in_trigger,
        .hw_params = img_i2s_in_hw_params,
-       .set_fmt_new = img_i2s_in_set_fmt
+       .set_fmt = img_i2s_in_set_fmt
 };
 
 static int img_i2s_in_dai_probe(struct snd_soc_dai *dai)
index d92539603d6cb12efe63c67a179b94fb4d42056e..9ec6fc528e2b4c5cb96093a886c8a3f98160c5b7 100644 (file)
@@ -381,7 +381,7 @@ static int img_i2s_out_set_fmt(struct snd_soc_dai *dai, unsigned int fmt)
 static const struct snd_soc_dai_ops img_i2s_out_dai_ops = {
        .trigger = img_i2s_out_trigger,
        .hw_params = img_i2s_out_hw_params,
-       .set_fmt_new = img_i2s_out_set_fmt
+       .set_fmt = img_i2s_out_set_fmt
 };
 
 static int img_i2s_out_dai_probe(struct snd_soc_dai *dai)