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 <marcin.rajwa@linux.intel.com>
This commit is contained in:
Marcin Rajwa 2019-06-10 12:37:08 +02:00 committed by Tomasz Lauda
parent c44a4549d4
commit 9b70458beb
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}