diff options
| author | 2026-03-31 01:25:04 +0000 | |
|---|---|---|
| committer | 2026-03-31 14:49:23 +0100 | |
| commit | 9968aad12f362dc686f139e1525d322a768f8ddb (patch) | |
| tree | ca325110ebce37cb74381fd1f9f99abcb1f3c6ae /include/linux/bcma/ssh:/git@git.zx2c4.com | |
| parent | ASoC: amd: acp: update dmic_num logic for acp pdm dmic (diff) | |
ASoC: soc-core: remove duplicate snd_soc_flush_all_delayed_work()
snd_soc_unbind_card() calls snd_soc_flush_all_delayed_work() (A),
but it will be called in soc_cleanup_card_resources() (B).
It is duplicated, let's remove it.
(B) static void soc_cleanup_card_resources(...)
{
...
/* flush delayed work before removing DAIs and DAPM widgets */
(A)' snd_soc_flush_all_delayed_work(card);
...
}
static void snd_soc_unbind_card(...)
{
if (snd_soc_card_is_instantiated(card)) {
card->instantiated = false;
(A) snd_soc_flush_all_delayed_work(card);
(B) soc_cleanup_card_resources(card);
}
}
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/87h5pwdc3z.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/bcma/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
