module: fix firmware compilation for loadable modules

Set correct source & sink parameters for module prepare function

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
This commit is contained in:
Guennadi Liakhovetski 2023-06-27 11:55:07 +03:00 committed by Liam Girdwood
parent 2c450e69fa
commit 3cdbffb11c
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ static int modules_prepare(struct processing_module *mod,
struct module_interface *mod_in =
(struct module_interface *)mod->priv.module_adapter;
ret = mod_in->prepare(mod, NULL, 0, NULL, 0);
ret = mod_in->prepare(mod, sources, num_of_sources, sinks, num_of_sinks);
} else {
ret = iadk_wrapper_prepare(mod->priv.module_adapter);
}