mirror of https://github.com/thesofproject/sof.git
trace: ipc: pipeline: Make error logs more detailed in ipc_pipeline_new()
It's not obvious that icd refers to pipeline scheduling component, so added this information to log message. By the way, scheduling component id has been printed. Signed-off-by: Karol Trzcinski <karolx.trzcinski@linux.intel.com>
This commit is contained in:
parent
0ed7023861
commit
b1d0fd7e64
|
@ -463,12 +463,14 @@ int ipc_pipeline_new(struct ipc *ipc,
|
|||
}
|
||||
|
||||
if (icd->type != COMP_TYPE_COMPONENT) {
|
||||
tr_err(&ipc_tr, "ipc_pipeline_new(): icd->type != COMP_TYPE_COMPONENT");
|
||||
tr_err(&ipc_tr, "ipc_pipeline_new(): icd->type (%d) != COMP_TYPE_COMPONENT for pipeline scheduling component icd->id %d",
|
||||
icd->type, icd->id);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
if (icd->core != pipe_desc->core) {
|
||||
tr_err(&ipc_tr, "ipc_pipeline_new(): icd->core != pipe_desc->core");
|
||||
tr_err(&ipc_tr, "ipc_pipeline_new(): icd->core (%d) != pipe_desc->core (%d) for pipeline scheduling component icd->id %d",
|
||||
icd->core, pipe_desc->core, icd->id);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue