From 3674d3343f0eb5b2773c86d91c144f74094943cb Mon Sep 17 00:00:00 2001 From: Pavlo Hamov Date: Thu, 17 Oct 2019 19:14:54 +0300 Subject: [PATCH] drivers: hci: stm32_ipm: disable proper LSI LSI1 is used for RTC, LTC2 for RF. Disable LSI2 instead of LSI1 on BLE with LSE start Signed-off-by: Pavlo Hamov --- drivers/bluetooth/hci/ipm_stm32wb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bluetooth/hci/ipm_stm32wb.c b/drivers/bluetooth/hci/ipm_stm32wb.c index 08beb0810c8..56479860f0c 100644 --- a/drivers/bluetooth/hci/ipm_stm32wb.c +++ b/drivers/bluetooth/hci/ipm_stm32wb.c @@ -338,7 +338,7 @@ static void start_ble_rf(void) LL_RCC_SetRTCClockSource(LL_RCC_RTC_CLKSOURCE_LSE); /* Switch OFF LSI */ - LL_RCC_LSI1_Disable(); + LL_RCC_LSI2_Disable(); #else LL_RCC_LSI2_Enable(); while (!LL_RCC_LSI2_IsReady()) {