Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/platform/intel/cavs/lib/clk.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,12 @@ static void platform_clock_low_power_mode(int clock, bool enable)
int freq_idx = *cache_to_uncache(&active_freq_idx);

if (enable && current_freq_idx > CPU_LPRO_FREQ_IDX)
select_cpu_clock(CPU_LPRO_FREQ_IDX, true);
/* LPRO requests are fast, but requests for other ROs
* can take a lot of time. That's why it's better to
* not release active clock just for waiti,
* so they can be switched without delay on wake up.
*/
select_cpu_clock(CPU_LPRO_FREQ_IDX, false);
else if (!enable && current_freq_idx != freq_idx)
select_cpu_clock(freq_idx, true);
}
Expand Down