From 9b70458bebd5a455cc8161cd01891fb18a6d5a34 Mon Sep 17 00:00:00 2001 From: Marcin Rajwa Date: Mon, 10 Jun 2019 12:37:08 +0200 Subject: [PATCH] pipeline: update pipeline idle task The idle tasks scheduler new feature enable idle tasks to reenter themselves at some later time. Therefore pipeline tasks needs to be updated accordingly. Signed-off-by: Marcin Rajwa --- src/audio/pipeline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/pipeline.c b/src/audio/pipeline.c index 9af32afd7..677943d25 100644 --- a/src/audio/pipeline.c +++ b/src/audio/pipeline.c @@ -974,5 +974,5 @@ static uint64_t pipeline_task(void *arg) } tracev_pipe("pipeline_task() sched"); - return p->ipc_pipe.period; + return pipeline_is_timer_driven(p) ? p->ipc_pipe.period : 0; }