File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ manifest:
4343
4444 - name : zephyr
4545 repo-path : zephyr
46- revision : e48c90700de7b84c038e73d01f4b2640e2fea127
46+ revision : pull/90821/head
4747 remote : zephyrproject
4848
4949 # Import some projects listed in zephyr/west.yml@revision
Original file line number Diff line number Diff line change @@ -219,6 +219,11 @@ void cpu_disable_core(int id)
219219 }
220220
221221#if defined(CONFIG_PM )
222+ /* TODO: before requesting core shut down check if it's not actively used */
223+ if (!pm_state_force (id , & (struct pm_state_info ){PM_STATE_SOFT_OFF , 0 , 0 })) {
224+ tr_err (& zephyr_tr , "failed to set PM_STATE_SOFT_OFF on core %d" , id );
225+ return ;
226+ }
222227#if defined(CONFIG_POWEROFF )
223228 /* Primary core will be turned off by the host. This does not return. */
224229 if (cpu_is_primary (id )) {
@@ -227,11 +232,6 @@ void cpu_disable_core(int id)
227232 }
228233#endif
229234
230- /* TODO: before requesting core shut down check if it's not actively used */
231- if (!pm_state_force (id , & (struct pm_state_info ){PM_STATE_SOFT_OFF , 0 , 0 })) {
232- tr_err (& zephyr_tr , "failed to set PM_STATE_SOFT_OFF on core %d" , id );
233- return ;
234- }
235235 /* Broadcasting interrupts to other cores. */
236236 arch_sched_broadcast_ipi ();
237237
You can’t perform that action at this time.
0 commit comments