mirror of https://github.com/thesofproject/sof.git
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:
parent
26b48aa221
commit
f37ab591bb
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue