zephyr/subsys/pm
Flavio Ceolin 82a6104808 pm: Fix device resume order
Devices need to be resumed in the reverse order they are suspended.
e.g: devA +---> devB ---> devD
          |
          +---> devC

They are initialized in the following order, devA -> devB -> devC ->
devD, and suspended starting from the end of the list, devD -> devC ->
devB -> devA. When they are suspended they are temporary put in a list
that is used later to resume them.

This list has to be iterated from the end to the beginning, otherwise a
device may be resumed before its parent.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2021-10-07 15:31:12 -04:00
..
policy kconfig: add names to some choices 2021-09-28 19:56:32 -04:00
CMakeLists.txt pm: move device_pm.c to device_runtime.c 2021-05-05 18:35:49 -04:00
Kconfig pm: device: remove CONFIG_PM_MAX_DEVICES 2021-05-29 07:38:06 -04:00
device.c pm: Fix device resume order 2021-10-07 15:31:12 -04:00
device_runtime.c pm: device: Remove transitional states 2021-08-27 17:47:10 -04:00
pm_ctrl.c pm: Allow override constraints implementation 2021-09-13 05:50:54 -04:00
pm_priv.h pm: Fix policy manager header 2021-06-14 21:48:27 -04:00
power.c pm: Fixes a data race in the debug stats on SMP 2021-10-05 19:26:58 -04:00