Skip to content

Commit 6f74d9b

Browse files
author
Jyri Sarha
committed
SQUASH module-adapter: Size DP heap from IPC ext init data
1 parent f29ebce commit 6f74d9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/audio/module_adapter/module_adapter.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ static struct vregion *module_adapter_dp_heap_new(const struct comp_ipc_config *
6868
#if CONFIG_IPC_MAJOR_4
6969
if (config->ipc_extended_init && ext_init && ext_init->dp_data &&
7070
ext_init->dp_data->heap_bytes > 0) {
71-
if (ext_init->dp_data->heap_bytes > 64*1024*1024) {
71+
if (ext_init->dp_data->heap_bytes > MB(64)) {
7272
LOG_ERR("Bad heap size %u bytes for %#x",
7373
ext_init->dp_data->heap_bytes, config->id);
7474
return NULL;

0 commit comments

Comments
 (0)