[Sound-open-firmware] [PATCH] hsw: timer: Use timer 1 for generic workqueue.

Liam Girdwood liam.r.girdwood at linux.intel.com
Mon Mar 12 13:53:34 CET 2018


Timer 1 is the correct priority.

Signed-off-by: Liam Girdwood <liam.r.girdwood at linux.intel.com>
---
 src/platform/haswell/platform.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/platform/haswell/platform.c b/src/platform/haswell/platform.c
index 95d80f8..f84d6e3 100644
--- a/src/platform/haswell/platform.c
+++ b/src/platform/haswell/platform.c
@@ -117,8 +117,8 @@ static const struct sof_ipc_window sram_window = {
 
 static struct work_queue_timesource platform_generic_queue = {
 	.timer	 = {
-		.id = TIMER2,	/* external timer using SSP */
-		.irq = IRQ_NUM_TIMER3,
+		.id = TIMER1,	/* internal timer */
+		.irq = IRQ_NUM_TIMER2,
 	},
 	.clk		= CLK_CPU,
 	.notifier	= NOTIFIER_ID_CPU_FREQ,
-- 
2.14.1



More information about the Sound-open-firmware mailing list