]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: soc-dapm: add snd_soc_dapm_to_dev()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 4 Sep 2025 05:21:08 +0000 (05:21 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 18 Sep 2025 21:24:09 +0000 (22:24 +0100)
commit6b8ba0db92cd01450acaf375caf4c126aa913d72
tree3f68365541ede6baadb135ef64ad31552e8fc03e
parent32bd60d5eca048fb91eed723799c0b4a847c18e4
ASoC: soc-dapm: add snd_soc_dapm_to_dev()

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.

Some drivers need to get dev from dapm (which will be removed).
We need such function. Add it.

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