Skip to content

Commit 7678c85

Browse files
Fymytejhedberg
authored andcommitted
drivers: hwspinlock: update default init priority
HWSPINLOCK drivers should be initialized very early in the kernel life, so they can be used by other drivers without breaking their init dependencies. Use the default init priority (40), instead of default device init priority (50). Signed-off-by: Pierrick Guillaume <[email protected]>
1 parent 176e2a4 commit 7678c85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hwspinlock/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ source "subsys/logging/Kconfig.template.log_config"
1616

1717
config HWSPINLOCK_INIT_PRIORITY
1818
int "HW spinlock init priority"
19-
default KERNEL_INIT_PRIORITY_DEVICE
19+
default KERNEL_INIT_PRIORITY_DEFAULT
2020
help
2121
HW spinlock driver device initialization priority.
2222

0 commit comments

Comments
 (0)