Skip to content

Commit 82045ae

Browse files
committed
audio: module: generic: use module context for blob allocations
Use a module context instead of heap to allocate objects for module parameter blobs. This is required to support vregion use. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
1 parent b645d54 commit 82045ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/audio/module_adapter/module/generic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ struct comp_data_blob_handler *mod_data_blob_handler_new(struct processing_modul
295295
if (!container)
296296
return NULL;
297297

298-
bhp = comp_data_blob_handler_new_ext(mod->dev, false, NULL, NULL, res->heap);
298+
bhp = comp_data_blob_handler_new_ext(mod->dev, false, NULL, NULL, res->alloc->heap);
299299
if (!bhp) {
300300
container_put(mod, container);
301301
return NULL;

0 commit comments

Comments
 (0)