Skip to content

Commit a061443

Browse files
henrikbrixandersenandrewboie
authored andcommitted
interrupt_controller: rv32m1: fix intmux driver initialization priority
Use the RV32M1 SoC intmux driver initialization priority set by Kconfig. Change the default to match the default value of 40 used before. Signed-off-by: Henrik Brix Andersen <[email protected]>
1 parent 1e6f4bd commit a061443

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/interrupt_controller/Kconfig.rv32m1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if RV32M1_INTMUX
1818

1919
config RV32M1_INTMUX_INIT_PRIORITY
2020
int "INTMUX driver initialization priority"
21-
default 60
21+
default 40
2222
help
2323
Boot time initialization priority for INTMUX driver.
2424
Don't change the default unless you know what you are doing.

drivers/interrupt_controller/rv32m1_intmux.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,4 +194,4 @@ static int rv32m1_intmux_init(struct device *dev)
194194
DEVICE_AND_API_INIT(intmux, DT_OPENISA_RV32M1_INTMUX_INTMUX_LABEL,
195195
&rv32m1_intmux_init, NULL,
196196
&rv32m1_intmux_cfg, PRE_KERNEL_1,
197-
CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, &rv32m1_intmux_apis);
197+
CONFIG_RV32M1_INTMUX_INIT_PRIORITY, &rv32m1_intmux_apis);

0 commit comments

Comments
 (0)