9 Jun
2017
9 Jun
'17
7 p.m.
Signed-off-by: Liam Girdwood liam.r.girdwood@linux.intel.com --- src/ipc/ipc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ipc/ipc.c b/src/ipc/ipc.c index 947acdb..7c9193f 100644 --- a/src/ipc/ipc.c +++ b/src/ipc/ipc.c @@ -238,7 +238,7 @@ int ipc_pipe_connect(struct ipc *ipc,
/* check whether the components already exist */ icd_source = ipc_get_comp(ipc, connect->comp_source_id); - if (icd_source != NULL) { + if (icd_source == NULL) { trace_ipc_error("eCr"); trace_value(connect->comp_source_id); return EINVAL;
--
2.11.0