From 800354ed7060a6c3d3396212ef982e1117ce3bee Mon Sep 17 00:00:00 2001 From: Seppo Ingalsuo Date: Wed, 20 Aug 2025 16:58:41 +0300 Subject: [PATCH] Audio: Template Comp: Fix build for CONFIG_FORMAT_S24LE only The build of template-generic.c would fail if only S24_LE format would be enabled without S32_LE. Signed-off-by: Seppo Ingalsuo --- src/audio/template_comp/template-generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/template_comp/template-generic.c b/src/audio/template_comp/template-generic.c index d233227786d5..d5f58139d201 100644 --- a/src/audio/template_comp/template-generic.c +++ b/src/audio/template_comp/template-generic.c @@ -96,7 +96,7 @@ static int template_comp_s16(const struct processing_module *mod, } #endif /* CONFIG_FORMAT_S16LE */ -#if CONFIG_FORMAT_S32LE || CONFIG_FORMAT_S32LE +#if CONFIG_FORMAT_S32LE || CONFIG_FORMAT_S24LE /** * template_comp_s32() - Process S32_LE or S24_4LE format. * @mod: Pointer to module data.