summaryrefslogtreecommitdiff
path: root/sound/soc/intel/boards/bdw-rt5650.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2023-10-31 08:58:36 +0100
committerTakashi Iwai <tiwai@suse.de>2023-10-31 08:58:36 +0100
commitc468b5dd759ede754b23cbc9c50b048a781d4217 (patch)
tree3ec5f17b34fbb4711253fc4698d9cacbf6b9e71b /sound/soc/intel/boards/bdw-rt5650.c
parent99248c8902f505ec064cf2b0f74629016f2f4c82 (diff)
parentf71e0be5d297b25453fdf4c1757b3e83e94b5f98 (diff)
Merge branch 'for-next' into for-linus
Pull 6.7 materials Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/intel/boards/bdw-rt5650.c')
-rw-r--r--sound/soc/intel/boards/bdw-rt5650.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/intel/boards/bdw-rt5650.c b/sound/soc/intel/boards/bdw-rt5650.c
index d0682bc543c9..3ae26f21458f 100644
--- a/sound/soc/intel/boards/bdw-rt5650.c
+++ b/sound/soc/intel/boards/bdw-rt5650.c
@@ -103,8 +103,8 @@ static int broadwell_ssp0_fixup(struct snd_soc_pcm_runtime *rtd,
static int bdw_rt5650_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);
int ret;
/* Workaround: set codec PLL to 19.2MHz that PLL source is
@@ -167,7 +167,7 @@ static int bdw_rt5650_init(struct snd_soc_pcm_runtime *rtd)
{
struct bdw_rt5650_priv *bdw_rt5650 =
snd_soc_card_get_drvdata(rtd->card);
- struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0);
+ struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0);
struct snd_soc_component *component = codec_dai->component;
int ret;