mirror of https://github.com/thesofproject/sof.git
pipeline: preload: dont return an error if preload completes
Dont return an error and emit trace errors if preload succeeds. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
This commit is contained in:
parent
4d5af6f8ac
commit
097e0a1947
|
@ -529,8 +529,11 @@ int pipeline_prepare(struct pipeline *p, struct comp_dev *dev)
|
|||
|
||||
ret = preload_downstream(dev, dev);
|
||||
|
||||
/* errors ? */
|
||||
if (ret < 0)
|
||||
break;
|
||||
/* complete ? */
|
||||
if (ret <= 0)
|
||||
else if (ret == 0)
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue