ASoC: starfive: convert not to use asoc_xxx()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 26 Sep 2023 06:23:51 +0000 (06:23 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 26 Sep 2023 15:18:39 +0000 (17:18 +0200)
ASoC is now unified asoc_xxx() into snd_soc_xxx().
This patch convert asoc_xxx() to snd_soc_xxx().

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/874jjhh2q1.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/starfive/jh7110_pwmdac.c

index 391544fe8568e67f67fc9a189fc0d2c630033f02..65ee3e339494d3e3b78dea0e52f7f6701196671c 100644 (file)
@@ -213,7 +213,7 @@ static void jh7110_pwmdac_stop(struct jh7110_pwmdac_dev *dev)
 static int jh7110_pwmdac_startup(struct snd_pcm_substream *substream,
                                 struct snd_soc_dai *dai)
 {
-       struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);
+       struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
        struct snd_soc_dai_link *dai_link = rtd->dai_link;
 
        dai_link->trigger_stop = SND_SOC_TRIGGER_ORDER_LDC;