diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2023-09-11 23:49:45 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-09-25 14:16:34 +0200 |
commit | 21b6cd54c98efedd29a2f8c92c3ee64fb324f4ec (patch) | |
tree | 2dff3c215fe4ebac8808f7e5ed98fe7510c9e47f /sound/soc/samsung/smdk_wm8994pcm.c | |
parent | b4b7de99c6da461315bfcce28018ab9f660c913b (diff) | |
download | lwn-21b6cd54c98efedd29a2f8c92c3ee64fb324f4ec.tar.gz lwn-21b6cd54c98efedd29a2f8c92c3ee64fb324f4ec.zip |
ASoC: samsung: 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/87fs3kqnhi.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/samsung/smdk_wm8994pcm.c')
-rw-r--r-- | sound/soc/samsung/smdk_wm8994pcm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/samsung/smdk_wm8994pcm.c b/sound/soc/samsung/smdk_wm8994pcm.c index d77dc54cae9c..5802f92ab8ba 100644 --- a/sound/soc/samsung/smdk_wm8994pcm.c +++ b/sound/soc/samsung/smdk_wm8994pcm.c @@ -43,9 +43,9 @@ static int smdk_wm8994_pcm_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) { - struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); - struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); - struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); + struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); + struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0); + struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); unsigned long mclk_freq; int rfs, ret; |