Skip to content

Commit

Permalink
[DNM] audio: add debug to ipcgtw creation
Browse files Browse the repository at this point in the history
Signed-off-by: Kai Vehmanen <[email protected]>
  • Loading branch information
kv2019i committed Nov 27, 2024
1 parent a172410 commit e6aa5fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/audio/buffers/comp_buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,10 @@ void buffer_attach(struct comp_buffer *buffer, struct list_item *head, int dir)
{
struct list_item *list = buffer_comp_list(buffer, dir);
CORE_CHECK_STRUCT(&buffer->audio_buffer);
if (!head || !head->next)
printk("E: attach head=%p next=%p\n", head, head ? head->next : 0);
if (!list || !list->next)
printk("E: attach list=%p next=%p\n", list, list ? list->next : 0);
list_item_prepend(list, head);
}

Expand Down
1 change: 1 addition & 0 deletions src/audio/copier/copier_ipcgtw.c
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ int copier_ipcgtw_create(struct comp_dev *dev, struct copier_data *cd,
goto e_ipcgtw;
}

printk("ipcgtwcreate: ep create %d\n", cd->endpoint_num);
if (cd->direction == SOF_IPC_STREAM_PLAYBACK) {
comp_buffer_connect(dev, config->core,
cd->endpoint_buffer[cd->endpoint_num],
Expand Down

0 comments on commit e6aa5fb

Please sign in to comment.