zephyr/subsys/pm
Jordan Yates 71a0f39568 pm: device: correct state in pm_device_driver_init
Set the value of `pm->state` as we move through the various stages of
`pm_device_driver_init`. This ensures hat if any of the code inside the
actions callbacks runs `pm_device_state_get` they get the correct state,
instead of always getting `PM_DEVICE_STATE_ACTIVE` (0, the value at
reset).

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-04-11 14:53:53 +02:00
..
policy pm: policy: Fix possible undefined reference 2025-02-08 04:06:29 +01:00
CMakeLists.txt pm: policy: split policy APIs implementations 2024-10-24 17:50:44 +02:00
device_runtime.c pm: device_runtime: Optimize pm_device_runtime_usage 2024-11-26 15:43:21 -05:00
device_system_managed.c pm: device: De-couple device pm from system pm 2024-06-04 19:13:53 -04:00
device_system_managed.h pm: device_system_managed: Fix functions return 2024-06-18 19:56:39 -04:00
device.c pm: device: correct state in pm_device_driver_init 2025-04-11 14:53:53 +02:00
Kconfig pm: Optimize pre-wakeup in suspend procedure 2025-04-08 19:26:57 +02:00
pm_shell.c shell: use shell_device_get_binding 2024-12-18 15:32:10 +01:00
pm_stats.c pm: Use fixed cpu id in single core case 2025-04-08 08:57:57 +02:00
pm_stats.h
pm.c pm: Optimize pre-wakeup in suspend procedure 2025-04-08 19:26:57 +02:00
state.c pm: state: allow disabling certain power states 2023-07-26 16:49:00 +02:00