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 <pavlo_hamov@jabil.com>
This commit is contained in:
Pavlo Hamov 2019-10-17 19:14:54 +03:00 committed by Kumar Gala
commit 3674d3343f

View file

@ -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()) {