mirror of https://github.com/thesofproject/sof.git
schedule: remove SOF_SCHEDULE_FLAG_SYNC/ASYNC flags
Removes SOF_SCHEDULE_FLAG_SYNC and SOF_SCHEDULE_FLAG_ASYNC. They are no longer used nor needed. Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
This commit is contained in:
parent
6ffcd61c19
commit
5dca048ed6
|
@ -1533,8 +1533,7 @@ static int dmic_probe(struct dai *dai)
|
|||
|
||||
/* Initialize start sequence handler */
|
||||
schedule_task_init(&dmic->dmicwork, SOF_SCHEDULE_LL_TIMER,
|
||||
SOF_TASK_PRI_MED, dmic_work, NULL, dai, 0,
|
||||
SOF_SCHEDULE_FLAG_ASYNC);
|
||||
SOF_TASK_PRI_MED, dmic_work, NULL, dai, 0, 0);
|
||||
|
||||
/* Enable DMIC power */
|
||||
pm_runtime_get_sync(DMIC_POW, dai->index);
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#ifndef __SOF_SCHEDULE_SCHEDULE_H__
|
||||
#define __SOF_SCHEDULE_SCHEDULE_H__
|
||||
|
||||
#include <sof/bit.h>
|
||||
#include <sof/common.h>
|
||||
#include <sof/list.h>
|
||||
#include <sof/schedule/task.h>
|
||||
|
@ -44,10 +45,7 @@ enum {
|
|||
};
|
||||
|
||||
/* Scheduler flags */
|
||||
/* Sync/Async only supported by ll scheduler atm */
|
||||
#define SOF_SCHEDULE_FLAG_ASYNC (0 << 0) /* task scheduled asynchronously */
|
||||
#define SOF_SCHEDULE_FLAG_SYNC (1 << 0) /* task scheduled synchronously */
|
||||
#define SOF_SCHEDULE_FLAG_IDLE (2 << 0)
|
||||
#define SOF_SCHEDULE_FLAG_IDLE BIT(0)
|
||||
|
||||
struct scheduler_ops {
|
||||
void (*schedule_task)(void *data, struct task *task, uint64_t start,
|
||||
|
|
Loading…
Reference in New Issue