mirror of https://github.com/thesofproject/sof.git
platform: remove PLATFORM_SCHED_CLOCK
Removes PLATFORM_SCHED_CLOCK definition as it's the same as PLATFORM_DEFAULT_CLOCK. Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
This commit is contained in:
parent
a12d58d170
commit
19db14e55f
|
@ -56,9 +56,6 @@ struct timer;
|
|||
#define PLATFORM_MAX_CHANNELS 8
|
||||
#define PLATFORM_MAX_STREAMS 16
|
||||
|
||||
/* clock source used by scheduler for deadline calculations */
|
||||
#define PLATFORM_SCHED_CLOCK PLATFORM_DEFAULT_CLOCK
|
||||
|
||||
/* DMA channel drain timeout in microseconds
|
||||
* TODO: calculate based on topology
|
||||
*/
|
||||
|
|
|
@ -61,9 +61,6 @@ struct timer;
|
|||
#define PLATFORM_MAX_CHANNELS 4
|
||||
#define PLATFORM_MAX_STREAMS 5
|
||||
|
||||
/* clock source used by scheduler for deadline calculations */
|
||||
#define PLATFORM_SCHED_CLOCK PLATFORM_DEFAULT_CLOCK
|
||||
|
||||
/* DMA channel drain timeout in microseconds
|
||||
* TODO: calculate based on topology
|
||||
*/
|
||||
|
|
|
@ -64,9 +64,6 @@ struct timer;
|
|||
#define PLATFORM_MAX_CHANNELS 8
|
||||
#define PLATFORM_MAX_STREAMS 16
|
||||
|
||||
/* clock source used by scheduler for deadline calculations */
|
||||
#define PLATFORM_SCHED_CLOCK PLATFORM_DEFAULT_CLOCK
|
||||
|
||||
/* DMA channel drain timeout in microseconds
|
||||
* TODO: calculate based on topology
|
||||
*/
|
||||
|
|
|
@ -57,9 +57,6 @@ struct timer;
|
|||
#define PLATFORM_MAX_CHANNELS 4
|
||||
#define PLATFORM_MAX_STREAMS 5
|
||||
|
||||
/* clock source used by scheduler for deadline calculations */
|
||||
#define PLATFORM_SCHED_CLOCK PLATFORM_DEFAULT_CLOCK
|
||||
|
||||
/* DMA channel drain timeout in microseconds
|
||||
* TODO: calculate based on topology
|
||||
*/
|
||||
|
|
|
@ -64,9 +64,6 @@ struct timer;
|
|||
#define PLATFORM_MAX_CHANNELS 8
|
||||
#define PLATFORM_MAX_STREAMS 16
|
||||
|
||||
/* clock source used by scheduler for deadline calculations */
|
||||
#define PLATFORM_SCHED_CLOCK PLATFORM_DEFAULT_CLOCK
|
||||
|
||||
/* DMA channel drain timeout in microseconds
|
||||
* TODO: calculate based on topology
|
||||
*/
|
||||
|
|
|
@ -46,9 +46,6 @@ struct timer;
|
|||
#define PLATFORM_MAX_CHANNELS 4
|
||||
#define PLATFORM_MAX_STREAMS 5
|
||||
|
||||
/* clock source used by scheduler for deadline calculations */
|
||||
#define PLATFORM_SCHED_CLOCK PLATFORM_DEFAULT_CLOCK
|
||||
|
||||
/* DMA channel drain timeout in microseconds - TODO: caclulate based on topology */
|
||||
#define PLATFORM_DMA_TIMEOUT 1333
|
||||
|
||||
|
|
|
@ -60,9 +60,6 @@ struct timer;
|
|||
#define PLATFORM_MAX_CHANNELS 4
|
||||
#define PLATFORM_MAX_STREAMS 5
|
||||
|
||||
/* clock source used by scheduler for deadline calculations */
|
||||
#define PLATFORM_SCHED_CLOCK PLATFORM_DEFAULT_CLOCK
|
||||
|
||||
/* DMA channel drain timeout in microseconds
|
||||
* TODO: calculate based on topology
|
||||
*/
|
||||
|
|
|
@ -64,9 +64,6 @@ struct timer;
|
|||
#define PLATFORM_MAX_CHANNELS 8
|
||||
#define PLATFORM_MAX_STREAMS 16
|
||||
|
||||
/* clock source used by scheduler for deadline calculations */
|
||||
#define PLATFORM_SCHED_CLOCK PLATFORM_DEFAULT_CLOCK
|
||||
|
||||
/* DMA channel drain timeout in microseconds
|
||||
* TODO: calculate based on topology
|
||||
*/
|
||||
|
|
|
@ -267,7 +267,7 @@ int scheduler_init_edf(struct sof *sof)
|
|||
|
||||
edf_sch = rzalloc(RZONE_SYS, SOF_MEM_CAPS_RAM, sizeof(*edf_sch));
|
||||
list_init(&edf_sch->list);
|
||||
edf_sch->clock = PLATFORM_SCHED_CLOCK;
|
||||
edf_sch->clock = PLATFORM_DEFAULT_CLOCK;
|
||||
|
||||
scheduler_init(SOF_SCHEDULE_EDF, &schedule_edf_ops, edf_sch);
|
||||
|
||||
|
|
Loading…
Reference in New Issue