drivers: hci: stm32wb: LSI is not an allowed clock for BLE RF.
Remove code related to LSI used as clock source for RF wakeup, it isn't a valid clock source. Also don't disable LSI when LSE is selected. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
f1dfeff282
commit
52b9724a88
1 changed files with 0 additions and 11 deletions
|
@ -405,17 +405,6 @@ static void start_ble_rf(void)
|
|||
|
||||
/* Select wakeup source of BLE RF */
|
||||
LL_RCC_SetRFWKPClockSource(LL_RCC_RFWKP_CLKSOURCE_LSE);
|
||||
|
||||
/* Switch OFF LSI */
|
||||
LL_RCC_LSI2_Disable();
|
||||
#else
|
||||
LL_RCC_LSI2_Enable();
|
||||
while (!LL_RCC_LSI2_IsReady()) {
|
||||
}
|
||||
|
||||
/* Select wakeup source of BLE RF */
|
||||
LL_RCC_SetRFWKPClockSource(LL_RCC_RFWKP_CLKSOURCE_LSI);
|
||||
LL_RCC_SetRTCClockSource(LL_RCC_RTC_CLKSOURCE_LSI);
|
||||
#endif
|
||||
|
||||
/* HSI48 clock and CLK48 clock source are enabled using the device tree */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue