pipeline: (cosmetic) fix function names in trace text

Fix trace messages after moving them into different functions.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
This commit is contained in:
Guennadi Liakhovetski 2021-09-07 15:29:16 +02:00 committed by Liam Girdwood
parent c911a78ff0
commit 5254f0938a
2 changed files with 3 additions and 3 deletions

View File

@ -51,7 +51,7 @@ static enum task_state pipeline_task_cmd(struct pipeline *p,
err = pipeline_trigger_run(p, p->trigger.host, cmd);
if (err < 0) {
pipe_err(p, "pipeline_task(): failed to trigger components: %d", err);
pipe_err(p, "pipeline_task_cmd(): failed to trigger components: %d", err);
reply->error = err;
err = SOF_TASK_STATE_COMPLETED;
} else {
@ -70,7 +70,7 @@ static enum task_state pipeline_task_cmd(struct pipeline *p,
}
if (err == PPL_STATUS_PATH_STOP) {
pipe_warn(p, "pipeline_task(): stopping for xrun");
pipe_warn(p, "pipeline_task_cmd(): stopping for xrun");
err = SOF_TASK_STATE_COMPLETED;
} else if (p->trigger.cmd != cmd) {
/* PRE stage completed */

View File

@ -407,7 +407,7 @@ int pipeline_trigger_run(struct pipeline *p, struct comp_dev *host, int cmd)
ret = walk_ctx.comp_func(host, NULL, &walk_ctx, host->direction);
if (ret < 0)
pipe_err(p, "pipeline_trigger(): ret = %d, host->comp.id = %u, cmd = %d",
pipe_err(p, "pipeline_trigger_run(): ret = %d, host->comp.id = %u, cmd = %d",
ret, dev_comp_id(host), cmd);
else if (ret == PPL_STATUS_PATH_STOP)
ret = 0;