Skip to content

Commit a57700a

Browse files
marcinszkudlinskilgirdwood
authored andcommitted
ipc: propagate unbind event in all cases
Unbind used to be ignored for components in the same pipeline But there are some code that depends on the event and need to have it in all situations, i.e. dai_zephyr_unbind or cross-core DP connections in the same pipeline Propagate the event in all cases Signed-off-by: Marcin Szkudlinski <marcin.szkudlinski@intel.com>
1 parent b781033 commit a57700a

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/ipc/ipc4/helper.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -727,11 +727,6 @@ __cold int ipc_comp_disconnect(struct ipc *ipc, ipc_pipe_comp_connect *_connect)
727727
return IPC4_INVALID_RESOURCE_ID;
728728
}
729729

730-
if (src->pipeline == sink->pipeline) {
731-
tr_warn(&ipc_tr, "ignoring unbinding of src %x and dst %x", src_id, sink_id);
732-
return 0;
733-
}
734-
735730
cross_core_unbind = src->ipc_config.core != sink->ipc_config.core;
736731

737732
/* Pass IPC to target core if both modules has the same target core,

0 commit comments

Comments
 (0)