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_wm8994.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_wm8994.c')
-rw-r--r-- | sound/soc/samsung/smdk_wm8994.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/samsung/smdk_wm8994.c b/sound/soc/samsung/smdk_wm8994.c index 821ad1eb1b79..13fb1bd7f4c9 100644 --- a/sound/soc/samsung/smdk_wm8994.c +++ b/sound/soc/samsung/smdk_wm8994.c @@ -44,8 +44,8 @@ static struct smdk_wm8994_data smdk_board_data = { static int smdk_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_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); + struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0); unsigned int pll_out; int ret; |