zephyr/subsys/pm
Flavio Ceolin 7812e54e8a pm: device_runtime: Simplify runtime_enable
Move the check of PM_DEVICE_FLAG_RUNTIME_ENABLED to the beginning of
the function. With this we avoid taking/release the semaphore and also
we no longer need check it in runtime_enable_sync(), because it was
already checked in pm_device_runtime_enable().

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2024-02-06 09:52:38 +01:00
..
CMakeLists.txt
Kconfig
device.c pm: device_runtime: Extend with synchronous runtime PM 2024-02-01 15:03:42 +01:00
device_runtime.c pm: device_runtime: Simplify runtime_enable 2024-02-06 09:52:38 +01:00
pm.c
pm_stats.c
pm_stats.h
policy.c
state.c