mirror of https://github.com/thesofproject/sof.git
module_adapter: Don't print an error if reset path stops
When md->ops->reset() returns PPL_STATUS_PATH_STOP this means that reset is not propagated along the pipeline. This is a normal condition. So do not print an error. Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
This commit is contained in:
parent
de9b8beadc
commit
58bd5a66fd
|
@ -271,7 +271,9 @@ int module_reset(struct processing_module *mod)
|
||||||
|
|
||||||
ret = md->ops->reset(mod);
|
ret = md->ops->reset(mod);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
comp_err(mod->dev, "module_reset() error %d: module specific reset() failed for comp %d",
|
if (ret != PPL_STATUS_PATH_STOP)
|
||||||
|
comp_err(mod->dev,
|
||||||
|
"module_reset() error %d: module specific reset() failed for comp %d",
|
||||||
ret, dev_comp_id(mod->dev));
|
ret, dev_comp_id(mod->dev));
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue