The return value of the system_off call is overwritten by the the call to pm_s2ram_mark_check_and_clear. As arch_pm_s2ram_suspend needs to specify why system_off failed, we need to make sure the rv of system_off is moved to a safe register before calling pm_s2ram_mark_check_and_clear and moved to r0 als rv of arch_pm_s2ram_suspend when the suspend call exits. Signed-off-by: Hessel van der Molen <hvandermolen@dexels.com> |
||
|---|---|---|
| .. | ||
| cortex_a_r | ||
| cortex_m | ||
| mmu | ||
| mpu | ||
| offsets | ||
| __aeabi_atexit.c | ||
| CMakeLists.txt | ||
| elf.c | ||
| fatal.c | ||
| gdbstub.c | ||
| header.S | ||
| irq_offload.c | ||
| Kconfig | ||
| Kconfig.vfp | ||
| nmi_on_reset.S | ||
| nmi.c | ||
| swi_tables.ld | ||
| tls.c | ||
| userspace.S | ||
| vector_table.ld | ||
| zimage_header.ld | ||