[Sound-open-firmware] [PATCH] tone: The endpoint needs to be set

Seppo Ingalsuo seppo.ingalsuo at linux.intel.com
Tue Jun 13 16:46:52 CEST 2017


The signal generator is an endpoint component so this needs to be set for
the pipeline to function.


Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo at linux.intel.com>
---
 src/audio/tone.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/audio/tone.c b/src/audio/tone.c
index 211d480..f45d8be 100644
--- a/src/audio/tone.c
+++ b/src/audio/tone.c
@@ -380,7 +380,7 @@ static struct comp_dev *tone_new(struct sof_ipc_comp *comp)
 	}
 
 	comp_set_drvdata(dev, cd);
-
+	comp_set_endpoint(dev);
 
 	tonegen_reset(&cd->sg);
 
-- 
2.11.0



More information about the Sound-open-firmware mailing list