Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: amd: 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/875y3xihf7.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Kuninori Morimoto and committed by
Mark Brown
4c1a0946 af084589

+3 -3
+3 -3
sound/soc/amd/acp/acp3x-es83xx/acp3x-es83xx.c
··· 69 69 int ret; 70 70 71 71 runtime = substream->runtime; 72 - rtd = asoc_substream_to_rtd(substream); 73 - codec_dai = asoc_rtd_to_codec(rtd, 0); 72 + rtd = snd_soc_substream_to_rtd(substream); 73 + codec_dai = snd_soc_rtd_to_codec(rtd, 0); 74 74 priv = get_mach_priv(rtd->card); 75 75 76 76 if (priv->quirk & ES83XX_48_MHZ_MCLK) { ··· 272 272 273 273 static int acp3x_es83xx_init(struct snd_soc_pcm_runtime *runtime) 274 274 { 275 - struct snd_soc_component *codec = asoc_rtd_to_codec(runtime, 0)->component; 275 + struct snd_soc_component *codec = snd_soc_rtd_to_codec(runtime, 0)->component; 276 276 struct snd_soc_card *card = runtime->card; 277 277 struct acp3x_es83xx_private *priv = get_mach_priv(card); 278 278 int ret = 0;