From 2214e3982106c6de754c562151ac96a2ac06c9c4 Mon Sep 17 00:00:00 2001 From: Vinayak Kariappa Chettimada Date: Thu, 3 Mar 2022 13:27:39 +0530 Subject: [PATCH] drivers: timer: nrf_rtc_timer: Dont__disable_irq if BT_LL_SW_SPLIT Do not use __disable_irq when Zero Latency IRQs are enabled and the Zephyr open source Bluetooth Controller is used with Zero Latency IRQs support. Application shall ensure their Zero Latency IRQ ISRs do not invoke any kernel APIs. Signed-off-by: Vinayak Kariappa Chettimada --- drivers/timer/Kconfig.nrf_rtc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/timer/Kconfig.nrf_rtc b/drivers/timer/Kconfig.nrf_rtc index fc26e3982ab..d9df59049bf 100644 --- a/drivers/timer/Kconfig.nrf_rtc +++ b/drivers/timer/Kconfig.nrf_rtc @@ -27,7 +27,7 @@ config NRF_RTC_TIMER_LOCK_ZERO_LATENCY_IRQS # hidden option bool depends on ZERO_LATENCY_IRQS - default y + default y if !BT_LL_SW_SPLIT help Enable use of __disable_irq() to disable Zero Latency IRQs to prevent higher priority contexts (including ZLIs) that might preempt the