From 4841dc609dffbba7b6a3b5fbcff85e3b479b8a86 Mon Sep 17 00:00:00 2001 From: Jyri Sarha Date: Thu, 12 Feb 2026 17:12:33 +0200 Subject: [PATCH] audio: module-adapter: Fix SRC regression when ext_init dp_data present Fix SRC DP regression when dp_data is present in the ext_init payload. The only situation where we can assume that there is no module specific init after the ext_init payload is when it was offered as part of ext_init payload. Completes fix abf1aa954311 ("audio: module-adapter: fix SRC DP regression") Fixes: d26364912305 ("module: Add support for module-specific init data") Signed-off-by: Jyri Sarha --- src/audio/module_adapter/module_adapter_ipc4.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/audio/module_adapter/module_adapter_ipc4.c b/src/audio/module_adapter/module_adapter_ipc4.c index 37184a5a5587..5aab62a6a37b 100644 --- a/src/audio/module_adapter/module_adapter_ipc4.c +++ b/src/audio/module_adapter/module_adapter_ipc4.c @@ -159,8 +159,8 @@ int module_adapter_init_data(struct comp_dev *dev, } } - if (!config->ipc_extended_init || - (!dst->ext_data->dp_data && !dst->ext_data->module_data)) { + /* Assume legacy API if module data was not found in ext_init payload */ + if (!dst->ext_data || !dst->ext_data->module_data) { dst->init_data = cfg; /* legacy API */ dst->avail = true; }