mirror of https://github.com/thesofproject/sof.git
testbench: print error on failure to prepare
We are capturing the error, we should log it, thank cppcheck for the find. Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
This commit is contained in:
parent
0f0dd1d7ab
commit
30719babb4
|
@ -83,6 +83,8 @@ int tb_pipeline_start(struct ipc *ipc, struct pipeline *p,
|
|||
|
||||
/* Component prepare */
|
||||
ret = pipeline_prepare(p, cd);
|
||||
if (ret < 0)
|
||||
printf("Warning: Failed prepare pipeline command.\n");
|
||||
|
||||
/* Start the pipeline */
|
||||
ret = pipeline_trigger(p, cd, COMP_TRIGGER_START);
|
||||
|
|
Loading…
Reference in New Issue