From e28a06394281a74a1b89a569c3c2fc0370f5b292 Mon Sep 17 00:00:00 2001 From: Marcin Szkudlinski Date: Fri, 1 Sep 2023 13:11:56 +0200 Subject: [PATCH] step --- src/audio/mixin_mixout/mixin_mixout.c | 12 ++++++------ src/audio/module_adapter/module_adapter.c | 2 +- src/samples/audio/smart_amp_test_ipc4.c | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/audio/mixin_mixout/mixin_mixout.c b/src/audio/mixin_mixout/mixin_mixout.c index 89e133c54f08..e5edf29a32f4 100644 --- a/src/audio/mixin_mixout/mixin_mixout.c +++ b/src/audio/mixin_mixout/mixin_mixout.c @@ -121,7 +121,7 @@ static int mixin_init(struct processing_module *mod) static int mixout_init(struct processing_module *mod) { - struct module_source_info *mod_source_info; + struct module_source_info __sparse_cache *mod_source_info; struct comp_dev *dev = mod->dev; struct mixout_data *mo_data; @@ -154,7 +154,7 @@ static int mixin_free(struct processing_module *mod) static int mixout_free(struct processing_module *mod) { - struct module_source_info *mod_source_info; + struct module_source_info __sparse_cache *mod_source_info; comp_dbg(mod->dev, "mixout_free()"); @@ -280,7 +280,7 @@ static int mixin_process(struct processing_module *mod, struct comp_buffer *sink; struct mixout_data *mixout_data; struct processing_module *mixout_mod; - struct module_source_info *mod_source_info; + struct module_source_info __sparse_cache *mod_source_info; uint32_t free_frames, pending_frames; /* unused buffer between mixin and mixout */ @@ -353,7 +353,7 @@ static int mixin_process(struct processing_module *mod, struct comp_dev *mixout; struct comp_buffer *sink; struct mixout_data *mixout_data; - struct module_source_info *mod_source_info; + struct module_source_info __sparse_cache *mod_source_info; struct processing_module *mixout_mod; uint32_t start_frame; uint32_t writeback_size; @@ -425,7 +425,7 @@ static int mixout_process(struct processing_module *mod, struct input_stream_buffer *input_buffers, int num_input_buffers, struct output_stream_buffer *output_buffers, int num_output_buffers) { - struct module_source_info *mod_source_info; + struct module_source_info __sparse_cache *mod_source_info; struct comp_dev *dev = mod->dev; struct mixout_data *md; uint32_t frames_to_produce = INT32_MAX; @@ -712,7 +712,7 @@ static int mixout_prepare(struct processing_module *mod, struct sof_source **sources, int num_of_sources, struct sof_sink **sinks, int num_of_sinks) { - struct module_source_info *mod_source_info; + struct module_source_info __sparse_cache *mod_source_info; struct comp_dev *dev = mod->dev; struct mixout_data *md; int ret, i; diff --git a/src/audio/module_adapter/module_adapter.c b/src/audio/module_adapter/module_adapter.c index d869af35ce22..1e313592ed19 100644 --- a/src/audio/module_adapter/module_adapter.c +++ b/src/audio/module_adapter/module_adapter.c @@ -1627,7 +1627,7 @@ static bool module_adapter_multi_sink_source_check(struct comp_dev *dev) int module_adapter_bind(struct comp_dev *dev, void *data) { - struct module_source_info *mod_source_info; + struct module_source_info __sparse_cache *mod_source_info; struct processing_module *mod = comp_get_drvdata(dev); struct ipc4_module_bind_unbind *bu; struct comp_dev *source_dev; diff --git a/src/samples/audio/smart_amp_test_ipc4.c b/src/samples/audio/smart_amp_test_ipc4.c index bb55e535f218..ff5f5b3115c3 100644 --- a/src/samples/audio/smart_amp_test_ipc4.c +++ b/src/samples/audio/smart_amp_test_ipc4.c @@ -277,7 +277,7 @@ static int smart_amp_process(struct processing_module *mod, struct comp_dev *dev = mod->dev; struct comp_buffer *fb_buf_c; struct comp_buffer *buf; - struct module_source_info *mod_source_info; + struct module_source_info __sparse_cache *mod_source_info; struct input_stream_buffer *fb_input = NULL; /* if there is only one input stream, it should be the source input */ struct input_stream_buffer *src_input = &input_buffers[0];