commit | 47b7c2e93123d7100a97caea01910cb2e00af78b | [log] [tgz] |
---|---|---|
author | Flavio Ceolin <flavio.ceolin@intel.com> | Tue Feb 08 15:28:09 2022 -0800 |
committer | Anas Nashif <anas.nashif@intel.com> | Tue Feb 15 13:05:04 2022 -0500 |
tree | ac8b955d02b977d4cb2d7af2872ef9ce97a990a6 | |
parent | 576e0da9f7ed0046547b1aba85704709c0ca71aa [diff] |
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: Flavio Ceolin <flavio.ceolin@intel.com>