prepare() is not being performed on the selected component. Fix this so that all components including the selected are prepared in a pipeine.
Signed-off-by: Liam Girdwood liam.r.girdwood@linux.intel.com --- src/audio/pipeline.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/audio/pipeline.c b/src/audio/pipeline.c index 7da9ab7..c286c0a 100644 --- a/src/audio/pipeline.c +++ b/src/audio/pipeline.c @@ -395,7 +395,7 @@ int pipeline_prepare(struct pipeline *p, struct comp_dev *dev) if (host->direction == SOF_IPC_STREAM_PLAYBACK) {
/* first of all prepare the pipeline */ - ret = component_op_downstream(&op_data, dev, dev, 1); + ret = component_op_downstream(&op_data, dev, dev, 0); if (ret < 0) goto out;
@@ -410,7 +410,7 @@ int pipeline_prepare(struct pipeline *p, struct comp_dev *dev) break; } } else { - ret = component_op_upstream(&op_data, dev, dev, 1); + ret = component_op_upstream(&op_data, dev, dev, 0); }
out: