]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: remove dpcm_process_paths()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 12 Feb 2025 02:28:57 +0000 (02:28 +0000)
committerMark Brown <broonie@kernel.org>
Sun, 16 Feb 2025 23:51:06 +0000 (23:51 +0000)
commit40b1f89a1691c4b7740bec2c868f1e4c60346353
tree28fb26caec5868fb993ed217418677d7e35ce104
parent257a060fe219bb0dcb98f12ce34f04eca6d08352
ASoC: remove dpcm_process_paths()

dpcm_process_paths() will call dpcm_add_paths() (A) or
dpcm_prune_paths() (B)

dpcm_process_paths(..., new)
{
if (new)
(A) return dpcm_add_paths(...);
else
(B) return dpcm_prune_paths(...);
}

but the user who need to call dpcm_prune_paths() (B) is only
soc_dpcm_fe_runtime_update(), all other user want to call is
dpcm_add_paths() (A). We don't need to have confusing
dpcm_process_paths(). Let's remove it.

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