From 855c0d742bfb69f2bc0fc024bbfcc83de2996ab8 Mon Sep 17 00:00:00 2001 From: Joakim Andersson Date: Mon, 22 Apr 2024 10:52:40 +0200 Subject: [PATCH] drivers: spi: Align SPI init priority with other devices Align the SPI init priority with other devices. Other bus-devices like UART and I2C are init at standard kernel device level (50), but SPI is at 70 and there appears to not be a reason for it. GPIO is init at 40 so there should not be an issue to use the default. Signed-off-by: Joakim Andersson --- drivers/spi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 77f0a081661..9dc7908552f 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -54,7 +54,7 @@ config SPI_EXTENDED_MODES config SPI_INIT_PRIORITY int "Init priority" - default 70 + default KERNEL_INIT_PRIORITY_DEVICE help Device driver initialization priority.