From da514737d0990a49ca656675b66270e159db48ff Mon Sep 17 00:00:00 2001 From: Mikkel Jakobsen Date: Thu, 20 Jan 2022 14:57:09 +0100 Subject: [PATCH] drivers: sensor: icm42605: fix default kconfig issues by default, a global trigger thread was enabled in kconfig but the thread priority and stack size depended on a local thread being enabled. the local thread option was never used anywhere so it is removed. Signed-off-by: Mikkel Jakobsen --- drivers/sensor/icm42605/Kconfig | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/sensor/icm42605/Kconfig b/drivers/sensor/icm42605/Kconfig index 4eb171daa49..2db2d5e4783 100644 --- a/drivers/sensor/icm42605/Kconfig +++ b/drivers/sensor/icm42605/Kconfig @@ -25,12 +25,6 @@ config ICM42605_TRIGGER_GLOBAL_THREAD depends on GPIO select ICM42605_TRIGGER -config ICM42605_TRIGGER_OWN_THREAD - bool "Use own thread" - depends on GPIO - select ICM42605_TRIGGER - - endchoice config ICM42605_TRIGGER @@ -38,14 +32,14 @@ config ICM42605_TRIGGER config ICM42605_THREAD_PRIORITY int "Thread priority" - depends on ICM42605_TRIGGER_OWN_THREAD + depends on ICM42605_TRIGGER_GLOBAL_THREAD default 10 help Priority of thread used by the driver to handle interrupts. config ICM42605_THREAD_STACK_SIZE int "Thread stack size" - depends on ICM42605_TRIGGER_OWN_THREAD + depends on ICM42605_TRIGGER_GLOBAL_THREAD default 1024 help Stack size of thread used by the driver to handle interrupts.