Skip to content
Permalink
Browse files

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 <henrik@brixandersen.dk>
  • Loading branch information...
henrikbrixandersen authored and andrewboie committed Apr 8, 2019
1 parent 1e6f4bd commit a061443940f74202f26ca23388cbb7d5aa7d0cca
Showing with 2 additions and 2 deletions.
  1. +1 −1 drivers/interrupt_controller/Kconfig.rv32m1
  2. +1 −1 drivers/interrupt_controller/rv32m1_intmux.c
@@ -18,7 +18,7 @@ if RV32M1_INTMUX

config RV32M1_INTMUX_INIT_PRIORITY
int "INTMUX driver initialization priority"
default 60
default 40
help
Boot time initialization priority for INTMUX driver.
Don't change the default unless you know what you are doing.
@@ -194,4 +194,4 @@ static int rv32m1_intmux_init(struct device *dev)
DEVICE_AND_API_INIT(intmux, DT_OPENISA_RV32M1_INTMUX_INTMUX_LABEL,
&rv32m1_intmux_init, NULL,
&rv32m1_intmux_cfg, PRE_KERNEL_1,
CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, &rv32m1_intmux_apis);
CONFIG_RV32M1_INTMUX_INIT_PRIORITY, &rv32m1_intmux_apis);

0 comments on commit a061443

Please sign in to comment.
You can’t perform that action at this time.