power: Fix unbalanced scheduler lock
Commit 58a0ba6dbb
removed the call to k_sched_unlock from
pm_system_resume() consequently the scheduler lock in
pm_power_state_force() was left unbalanced. Just fixing it.
Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
a43f3bade8
commit
98170586e1
|
@ -157,6 +157,7 @@ void pm_power_state_force(struct pm_state_info info)
|
|||
pm_debug_stop_timer();
|
||||
|
||||
pm_system_resume();
|
||||
k_sched_unlock();
|
||||
}
|
||||
|
||||
#if CONFIG_PM_DEVICE
|
||||
|
|
Loading…
Reference in a new issue