Work queue depends on clocks.
Signed-off-by: Liam Girdwood liam.r.girdwood@linux.intel.com --- src/platform/baytrail/platform.c | 6 +++--- src/platform/haswell/platform.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/platform/baytrail/platform.c b/src/platform/baytrail/platform.c index 11ea731..4709fcd 100644 --- a/src/platform/baytrail/platform.c +++ b/src/platform/baytrail/platform.c @@ -275,6 +275,9 @@ int platform_init(struct reef *reef) /* init PMC IPC */ platform_ipc_pmc_init();
+ trace_point(TRACE_BOOT_PLATFORM_CLOCK); + init_platform_clocks(); + /* init work queues and clocks */ trace_point(TRACE_BOOT_SYS_WORK); init_system_workq(&platform_generic_queue); @@ -282,9 +285,6 @@ int platform_init(struct reef *reef) trace_point(TRACE_BOOT_PLATFORM_TIMER); platform_timer_start(platform_timer);
- trace_point(TRACE_BOOT_PLATFORM_CLOCK); - init_platform_clocks(); - /* init the system agent */ sa_init(reef);
diff --git a/src/platform/haswell/platform.c b/src/platform/haswell/platform.c index 16b16c7..5f56a05 100644 --- a/src/platform/haswell/platform.c +++ b/src/platform/haswell/platform.c @@ -182,6 +182,9 @@ int platform_init(struct reef *reef)
trace_point(TRACE_BOOT_PLATFORM_SHIM);
+ trace_point(TRACE_BOOT_PLATFORM_CLOCK); + init_platform_clocks(); + /* init work queues and clocks */ trace_point(TRACE_BOOT_SYS_WORK); init_system_workq(&platform_generic_queue); @@ -189,9 +192,6 @@ int platform_init(struct reef *reef) trace_point(TRACE_BOOT_PLATFORM_TIMER); platform_timer_start(platform_timer);
- trace_point(TRACE_BOOT_PLATFORM_CLOCK); - init_platform_clocks(); - /* init the system agent */ sa_init(reef);