Skip to content

Commit add6eb6

Browse files
ttmutcfriedt
authored andcommitted
soc: adi: max32: Use ceiling method to calculate exit latency ticks
The default 'near' mode results in zero exit latency ticks, which prevents `sys_clock_set_timeout` from being called. This causes the system to remain stuck in deep sleep modes. Use ceiling method to obtain a nonzero exit latency tick count. Signed-off-by: Tahsin Mutlugun <[email protected]>
1 parent f4794f8 commit add6eb6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

soc/adi/max32/Kconfig.defconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,9 @@ if SOC_FAMILY_MAX32
77

88
rsource "Kconfig.defconfig.max*"
99

10+
choice PM_PREWAKEUP_CONV_MODE
11+
default PM_PREWAKEUP_CONV_MODE_CEIL
12+
13+
endchoice # PM_PREWAKEUP_CONV_MODE
14+
1015
endif # SOC_FAMILY_MAX32

0 commit comments

Comments
 (0)