We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6c3b0ac + 08ed1b4 commit 1395483Copy full SHA for 1395483
1 file changed
src/lib/agent.c
@@ -87,7 +87,8 @@ void sa_init(struct sof *sof)
87
sof->sa = sa;
88
89
/* set default tick timout */
90
- sa->ticks = clock_us_to_ticks(PLATFORM_WORKQ_CLOCK, PLATFORM_IDLE_TIME);
+ sa->ticks = clock_ms_to_ticks(PLATFORM_WORKQ_CLOCK,
91
+ PLATFORM_IDLE_TIME / 1000);
92
trace_sa_value(sa->ticks);
93
94
/* set lst idle time to now to give time for boot completion */
0 commit comments