Skip to content
Commit 675a349e authored by Flavio Ceolin's avatar Flavio Ceolin Committed by Christopher Friedt
Browse files

kernel: Fix timeout issue with SYSTEM_CLOCK_SLOPPY_IDLE



We can't simply use CLAMP to set the next timeout because
when CONFIG_SYSTEM_CLOCK_SLOPPY_IDLE is set, MAX_WAIT is
a negative number and then CLAMP will be called with
the higher boundary lower the lower boundary.

Fixes #41422

Signed-off-by: default avatarFlavio Ceolin <flavio.ceolin@intel.com>
(cherry picked from commit 47b7c2e9)
parent 16927a6c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment