diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2023-09-12 02:50:29 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-09-25 15:16:40 +0300 |
commit | 50cd92e0c8d35d634275ae29f769244ad26b41fa (patch) | |
tree | 3129d0fb5f432aae180545d32ef6377534fe4d0b /drivers/soundwire/intel_ace2x.c | |
parent | 91941d84038ef392370172053cb8e0ca62ae9e56 (diff) | |
download | linux-50cd92e0c8d35d634275ae29f769244ad26b41fa.tar.xz |
ASoC: soundwire: 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/874jk0qnga.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/soundwire/intel_ace2x.c')
-rw-r--r-- | drivers/soundwire/intel_ace2x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soundwire/intel_ace2x.c b/drivers/soundwire/intel_ace2x.c index a9d25ae0b73f..82672fcbc2aa 100644 --- a/drivers/soundwire/intel_ace2x.c +++ b/drivers/soundwire/intel_ace2x.c @@ -327,7 +327,7 @@ static int intel_prepare(struct snd_pcm_substream *substream, } if (dai_runtime->suspended) { - struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); + struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); struct snd_pcm_hw_params *hw_params; hw_params = &rtd->dpcm[substream->stream].hw_params; |