summaryrefslogtreecommitdiff
path: root/sound/soc/intel/keembay/kmb_platform.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2023-09-26 06:24:24 +0000
committerMark Brown <broonie@kernel.org>2023-09-26 17:18:40 +0200
commita2c1125e5b99cd9722d7ee320756bba948855e1e (patch)
tree10b1ca4739c05c5542a49c14b746e54d505e4bac /sound/soc/intel/keembay/kmb_platform.c
parent1a543d2a1cdbe2aae039a9b7f5ab6d0cbddebf95 (diff)
downloadlwn-a2c1125e5b99cd9722d7ee320756bba948855e1e.tar.gz
lwn-a2c1125e5b99cd9722d7ee320756bba948855e1e.zip
ASoC: intel: 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/87zg19fo4o.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/keembay/kmb_platform.c')
-rw-r--r--sound/soc/intel/keembay/kmb_platform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/intel/keembay/kmb_platform.c b/sound/soc/intel/keembay/kmb_platform.c
index 6b06b7b5ede8..e929497a5eb5 100644
--- a/sound/soc/intel/keembay/kmb_platform.c
+++ b/sound/soc/intel/keembay/kmb_platform.c
@@ -252,10 +252,10 @@ static int kmb_pcm_open(struct snd_soc_component *component,
struct snd_pcm_substream *substream)
{
struct snd_pcm_runtime *runtime = substream->runtime;
- struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);
+ struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
struct kmb_i2s_info *kmb_i2s;
- kmb_i2s = snd_soc_dai_get_drvdata(asoc_rtd_to_cpu(rtd, 0));
+ kmb_i2s = snd_soc_dai_get_drvdata(snd_soc_rtd_to_cpu(rtd, 0));
snd_soc_set_runtime_hwparams(substream, &kmb_pcm_hardware);
snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS);
runtime->private_data = kmb_i2s;