If runtime_suspend() is called early during Zephyr initialisation, while k_is_pre_kernel() returns 'true,' 'async' is set to 'false,' so if 'async' is 'true,' Zephyr initialisation is definitely complete, so there is no need to check k_is_pre_kernel() again. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| device_runtime.c | ||
| device.c | ||
| Kconfig | ||
| pm_stats.c | ||
| pm_stats.h | ||
| pm.c | ||
| policy.c | ||
| state.c | ||