pm_device_runtime has inconsistent behavior regarding getting and putting a device's domain. This commit aligns it to get the domain only once, once device is resumed, and put only once, once device is suspended. Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| policy | ||
| CMakeLists.txt | ||
| device_runtime.c | ||
| device_system_managed.c | ||
| device_system_managed.h | ||
| device.c | ||
| Kconfig | ||
| pm_shell.c | ||
| pm_stats.c | ||
| pm_stats.h | ||
| pm.c | ||
| state.c | ||