mixin: allocate .mixed_data_info as uncached

mixin-mixout uses the coherent API to access the .mixed_data_info
array, therefore it has to be allocated as uncached, otherwise
initialisation changes get discarded by cache invalidation.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
This commit is contained in:
Guennadi Liakhovetski 2022-09-07 17:40:58 +02:00 committed by Liam Girdwood
parent 26b48aa221
commit f37ab591bb
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ static struct comp_dev *mixout_new(const struct comp_driver *drv,
memcpy_s(&md->base_cfg, sizeof(md->base_cfg), spec, sizeof(md->base_cfg)); memcpy_s(&md->base_cfg, sizeof(md->base_cfg), spec, sizeof(md->base_cfg));
md->mixed_data_info = rzalloc(SOF_MEM_ZONE_RUNTIME, 0, SOF_MEM_CAPS_RAM, md->mixed_data_info = rzalloc(SOF_MEM_ZONE_RUNTIME_SHARED, 0, SOF_MEM_CAPS_RAM,
sizeof(struct mixed_data_info)); sizeof(struct mixed_data_info));
if (!md->mixed_data_info) { if (!md->mixed_data_info) {
rfree(md); rfree(md);