K_TICKS_FOREVER is defined as -1. Guard logic has been added for the case when `ticks - exit_latency_ticks == -1` to prevent sys_clock_set_timeout() from incorrectly setting a forever timeout. Signed-off-by: Serhiy Katsyuba <serhiy.katsyuba@intel.com> |
||
|---|---|---|
| .. | ||
| policy | ||
| CMakeLists.txt | ||
| device_runtime.c | ||
| device_system_managed.c | ||
| device_system_managed.h | ||
| device.c | ||
| Kconfig | ||
| pm_shell.c | ||
| pm_stats.c | ||
| pm_stats.h | ||
| pm.c | ||
| state.c | ||