]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: remove update from snd_soc_card
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 12 Feb 2025 02:28:43 +0000 (02:28 +0000)
committerMark Brown <broonie@kernel.org>
Sun, 16 Feb 2025 23:51:05 +0000 (23:51 +0000)
commit257a060fe219bb0dcb98f12ce34f04eca6d08352
tree3d4c7ffb0a1bcd7b387cbcae6a448bf02c1326c6
parent0c4a06395156d16ea33e959fccea84e4cfec04c4
ASoC: remove update from snd_soc_card

snd_soc_card :: update is used only for passing parameters to
dapm_widget_update() like below.

card->update = update;
ret = soc_dapm_xxx(card, ...);
card->update = NULL;

Let's passing it via function parameter and remove update from
snd_soc_card.

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