diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2023-09-12 02:49:13 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-09-25 15:16:29 +0300 |
commit | 7912371430a49daaa63a2098aa8c944a1ecb0b9b (patch) | |
tree | 845fab2364b01e9cb8ede59f5da04266446e2b25 /sound/soc/sunxi/sun4i-spdif.c | |
parent | 0d102e68e1075dbfb24d35c29bf9e64e7936b9f8 (diff) | |
download | linux-7912371430a49daaa63a2098aa8c944a1ecb0b9b.tar.xz |
ASoC: sunxi: convert not to use asoc_xxx()
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/87o7i8qnie.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sunxi/sun4i-spdif.c')
-rw-r--r-- | sound/soc/sunxi/sun4i-spdif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/sunxi/sun4i-spdif.c b/sound/soc/sunxi/sun4i-spdif.c index b849bb7cf58e..199cfee41d31 100644 --- a/sound/soc/sunxi/sun4i-spdif.c +++ b/sound/soc/sunxi/sun4i-spdif.c @@ -246,8 +246,8 @@ static void sun4i_snd_txctrl_off(struct snd_pcm_substream *substream, static int sun4i_spdif_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *cpu_dai) { - struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); - struct sun4i_spdif_dev *host = snd_soc_dai_get_drvdata(asoc_rtd_to_cpu(rtd, 0)); + struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); + struct sun4i_spdif_dev *host = snd_soc_dai_get_drvdata(snd_soc_rtd_to_cpu(rtd, 0)); if (substream->stream != SNDRV_PCM_STREAM_PLAYBACK) return -EINVAL; |