Skip to content

Commit

Permalink
[WORKARAUND] module_adapter: processing: Workaround for native modules
Browse files Browse the repository at this point in the history
Native loadable modules should not use the processing module adapter
designed for iadk modules. This fix replace overwrite processing module ops
to use module interface provided by native loadable module.

Signed-off-by: Adrian Warecki <[email protected]>
  • Loading branch information
softwarecki committed Sep 15, 2023
1 parent 63dea31 commit 223e846
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/audio/module_adapter/module/modules.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ static int modules_init(struct processing_module *mod)
(struct module_interface *)md->module_adapter;

ret = mod_in->init(mod);
mod->priv.ops = mod_in;
} else {
ret = iadk_wrapper_init(md->module_adapter);
}
Expand Down

0 comments on commit 223e846

Please sign in to comment.