]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: generic: update outdated comment for removed soc_bind_dai_link()
authorKexin Sun <kexinsun@smail.nju.edu.cn>
Sat, 21 Mar 2026 11:50:18 +0000 (19:50 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 23 Mar 2026 17:59:19 +0000 (17:59 +0000)
commitd57fe7b02072ad04a41517e40c737ed7c11f4520
tree4b306e70965e75263b8f4268c2b400a4bf610ea7
parente3f1ce073a0dd2b319bd1541c461f153306ca163
ASoC: generic: update outdated comment for removed soc_bind_dai_link()

The function soc_bind_dai_link() was first merged into
snd_soc_add_dai_link() by commit 63dc47da1f39 ("ASoC: soc-core: merge
snd_soc_add_dai_link() and soc_bind_dai_link()"), and later renamed to
snd_soc_add_pcm_runtime() by commit 0c04800424c4 ("ASoC: soc-core:
rename snd_soc_add_dai_link() to snd_soc_add_pcm_runtime()").

In simple-card.c, also adjust the wording since snd_soc_add_pcm_runtime()
no longer uses "xxx_of_node" fields but matches components by of_node
through snd_soc_find_dai() and snd_soc_is_matching_component().

In simple-card-utils.c, simply update the function name to its
successor snd_soc_add_pcm_runtime().

Assisted-by: unnamed:deepseek-v3.2 coccinelle
Signed-off-by: Kexin Sun <kexinsun@smail.nju.edu.cn>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/20260321115018.9481-1-kexinsun@smail.nju.edu.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/simple-card-utils.c
sound/soc/generic/simple-card.c