mirror of https://github.com/thesofproject/sof.git
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:
parent
c44a4549d4
commit
9b70458beb
|
@ -974,5 +974,5 @@ static uint64_t pipeline_task(void *arg)
|
||||||
}
|
}
|
||||||
|
|
||||||
tracev_pipe("pipeline_task() sched");
|
tracev_pipe("pipeline_task() sched");
|
||||||
return p->ipc_pipe.period;
|
return pipeline_is_timer_driven(p) ? p->ipc_pipe.period : 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue