drivers: can: increase default initialization priority from 50 to 80
Increase the default CAN controller driver initialization priority from KERNEL_INIT_PRIORITY_DEVICE (50) to 80 to allow CAN controllers on SPI busses have their bus initialized prior to initializing the CAN controller driver. The only in-bound dependency on CAN controller drivers - apart from application level code - is the drivers/net/canbus.c driver, which already defaults to an initialization level of 81. Fixes: #55745 Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
parent
b7160271e8
commit
b12eb78f35
2 changed files with 1 additions and 14 deletions
|
@ -19,7 +19,7 @@ source "subsys/logging/Kconfig.template.log_config"
|
|||
|
||||
config CAN_INIT_PRIORITY
|
||||
int "CAN driver init priority"
|
||||
default KERNEL_INIT_PRIORITY_DEVICE
|
||||
default 80
|
||||
help
|
||||
CAN driver device initialization priority.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue