Skip to content

Commit 1395483

Browse files
authored
Merge pull request #338 from tlauda/topic/agent_ms
agent: switch from us to ms
2 parents 6c3b0ac + 08ed1b4 commit 1395483

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/lib/agent.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ void sa_init(struct sof *sof)
8787
sof->sa = sa;
8888

8989
/* set default tick timout */
90-
sa->ticks = clock_us_to_ticks(PLATFORM_WORKQ_CLOCK, PLATFORM_IDLE_TIME);
90+
sa->ticks = clock_ms_to_ticks(PLATFORM_WORKQ_CLOCK,
91+
PLATFORM_IDLE_TIME / 1000);
9192
trace_sa_value(sa->ticks);
9293

9394
/* set lst idle time to now to give time for boot completion */

0 commit comments

Comments
 (0)