Skip to content

Commit 4e85806

Browse files
ozersakartben
authored andcommitted
soc: adi: max32: Add dependency to idle cpu hook
To simplify usage add dependecy to MAX32_ON_ENTER_CPU_IDLE_HOOK If CONFIG_PM not defined set to to y as current, If CONFIG_PM defined not set it If user set CONFIG_PM not need to disable MAX32_ON_ENTER_CPU_IDLE_HOOK anymore Signed-off-by: Sadik Ozer <[email protected]>
1 parent 9b7927f commit 4e85806

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

soc/adi/max32/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ if SOC_FAMILY_MAX32
4747

4848
config MAX32_ON_ENTER_CPU_IDLE_HOOK
4949
bool "CPU idle hook enable"
50-
default y
50+
default y if !PM
5151
imply ARM_ON_ENTER_CPU_IDLE_HOOK
5252
help
5353
Enables a hook (z_arm_on_enter_cpu_idle()) that is called when

0 commit comments

Comments
 (0)