]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: soc-dapm: add snd_soc_dapm_alloc()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 20 Jan 2026 00:14:54 +0000 (00:14 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 26 Jan 2026 11:44:45 +0000 (11:44 +0000)
commit13c84b4c6f218c196c9c72286645247996800427
tree81031dbff52c720ddacdf8f863deb20e732142c9
parentcf0e8c555b34b0ea3d2a41edf6dc214239a71c80
ASoC: soc-dapm: add snd_soc_dapm_alloc()

Because struct snd_soc_dapm_context is soc-dapm framework specific, user
driver don't need to access its member directly, we would like to hide
them. struct snd_soc_dapm_context will be removed from header in the
future.

Current card/component are using dapm_context instance. But it will be
moved to soc-dapm.c, and we can use will be only pointer. Makes it to
pointer.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/87h5shqgw1.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-component.h
include/sound/soc-dapm.h
include/sound/soc.h
sound/soc/soc-core.c
sound/soc/soc-dapm.c