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 <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2022-03-03 13:27:39 +05:30 committed by Carles Cufí
parent 4eb5c375e1
commit 2214e39821

View file

@ -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