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>
This commit is contained in:
parent
af08458988
commit
4c1a094692
@ -69,8 +69,8 @@ static int acp3x_es83xx_codec_startup(struct snd_pcm_substream *substream)
|
||||
int ret;
|
||||
|
||||
runtime = substream->runtime;
|
||||
rtd = asoc_substream_to_rtd(substream);
|
||||
codec_dai = asoc_rtd_to_codec(rtd, 0);
|
||||
rtd = snd_soc_substream_to_rtd(substream);
|
||||
codec_dai = snd_soc_rtd_to_codec(rtd, 0);
|
||||
priv = get_mach_priv(rtd->card);
|
||||
|
||||
if (priv->quirk & ES83XX_48_MHZ_MCLK) {
|
||||
@ -272,7 +272,7 @@ static int acp3x_es83xx_configure_mics(struct acp3x_es83xx_private *priv)
|
||||
|
||||
static int acp3x_es83xx_init(struct snd_soc_pcm_runtime *runtime)
|
||||
{
|
||||
struct snd_soc_component *codec = asoc_rtd_to_codec(runtime, 0)->component;
|
||||
struct snd_soc_component *codec = snd_soc_rtd_to_codec(runtime, 0)->component;
|
||||
struct snd_soc_card *card = runtime->card;
|
||||
struct acp3x_es83xx_private *priv = get_mach_priv(card);
|
||||
int ret = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user