We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f29ebce commit 6f74d9bCopy full SHA for 6f74d9b
1 file changed
src/audio/module_adapter/module_adapter.c
@@ -68,7 +68,7 @@ static struct vregion *module_adapter_dp_heap_new(const struct comp_ipc_config *
68
#if CONFIG_IPC_MAJOR_4
69
if (config->ipc_extended_init && ext_init && ext_init->dp_data &&
70
ext_init->dp_data->heap_bytes > 0) {
71
- if (ext_init->dp_data->heap_bytes > 64*1024*1024) {
+ if (ext_init->dp_data->heap_bytes > MB(64)) {
72
LOG_ERR("Bad heap size %u bytes for %#x",
73
ext_init->dp_data->heap_bytes, config->id);
74
return NULL;
0 commit comments