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
device_runtime.c
device_system_managed.c
device_system_managed.h
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
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