mirror of https://github.com/thesofproject/sof.git
agent: switch from us to ms
We should switch from microseconds to milliseconds as difference in cycles for current timeout is 150000. Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
This commit is contained in:
parent
7abb55fe72
commit
08ed1b4d9a
|
@ -87,7 +87,8 @@ void sa_init(struct sof *sof)
|
|||
sof->sa = sa;
|
||||
|
||||
/* set default tick timout */
|
||||
sa->ticks = clock_us_to_ticks(PLATFORM_WORKQ_CLOCK, PLATFORM_IDLE_TIME);
|
||||
sa->ticks = clock_ms_to_ticks(PLATFORM_WORKQ_CLOCK,
|
||||
PLATFORM_IDLE_TIME / 1000);
|
||||
trace_sa_value(sa->ticks);
|
||||
|
||||
/* set lst idle time to now to give time for boot completion */
|
||||
|
|
Loading…
Reference in New Issue