diff --git a/src/audio/mux/mux.c b/src/audio/mux/mux.c index 3c0f9a8f5b38..2d1f35534dd9 100644 --- a/src/audio/mux/mux.c +++ b/src/audio/mux/mux.c @@ -450,7 +450,7 @@ static int demux_trigger(struct processing_module *mod, int cmd) */ if (cmd == COMP_TRIGGER_PRE_START) { list_for_item(li, &mod->dev->bsink_list) { - b = container_of(li, struct comp_buffer, source_list); + b = container_of(li, struct comp_buffer, source_list); //msz ????? if (b->sink->pipeline != mod->dev->pipeline) audio_stream_set_overrun(&b->stream, true); } diff --git a/src/ipc/ipc-helper.c b/src/ipc/ipc-helper.c index b9f11811a8f0..2e23c6420646 100644 --- a/src/ipc/ipc-helper.c +++ b/src/ipc/ipc-helper.c @@ -136,11 +136,9 @@ int comp_verify_params(struct comp_dev *dev, uint32_t flag, */ if (list_is_empty(source_list) != list_is_empty(sink_list)) { if (list_is_empty(sink_list)) - buf = list_first_item(source_list, - struct comp_buffer, - sink_list); + buf = list_first_item(source_list, struct comp_buffer, sink_list); //msz else - buf = list_first_item(sink_list, struct comp_buffer, source_list); + buf = list_first_item(sink_list, struct comp_buffer, source_list); //msz /* update specific pcm parameter with buffer parameter if * specific flag is set. @@ -314,8 +312,7 @@ int ipc_comp_free(struct ipc *ipc, uint32_t comp_id) } list_for_item_safe(clist, tmp, &icd->cd->bsink_list) { - struct comp_buffer *buffer = container_of(clist, struct comp_buffer, source_list); - + struct comp_buffer *buffer = container_of(clist, struct comp_buffer, source_list); //msz ??? buffer->source = NULL; /* Also if it isn't shared - we are about to modify uncached data */ dcache_writeback_invalidate_region(uncache_to_cache(buffer), diff --git a/test/cmocka/src/util.h b/test/cmocka/src/util.h index 5ef231ceba64..abd2633e9b5d 100644 --- a/test/cmocka/src/util.h +++ b/test/cmocka/src/util.h @@ -29,7 +29,7 @@ static inline struct comp_buffer *create_test_sink(struct comp_dev *dev, /* set bsink list */ if (dev) - list_item_append(&buffer->source_list, &dev->bsink_list); + list_item_append(&buffer->source_list, &dev->bsink_list); //msz /* alloc sink and set default parameters */ buffer->sink = calloc(1, sizeof(struct comp_dev));