drivers: clock_control: stm32wba: remove unneeded semaphore
Remove semaphore used for the setting of the LSE. It is not used for STM32WBA. Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
This commit is contained in:
parent
4a46163055
commit
5f260591d8
1 changed files with 0 additions and 4 deletions
|
@ -438,8 +438,6 @@ static void set_up_fixed_clock_sources(void)
|
|||
if (IS_ENABLED(STM32_LSE_ENABLED)) {
|
||||
/* LSE belongs to the back-up domain, enable access.*/
|
||||
|
||||
z_stm32_hsem_lock(CFG_HW_RCC_SEMID, HSEM_LOCK_DEFAULT_RETRY);
|
||||
|
||||
/* Set the DBP bit in the Power control register 1 (PWR_CR1) */
|
||||
LL_PWR_EnableBkUpAccess();
|
||||
while (!LL_PWR_IsEnabledBkUpAccess()) {
|
||||
|
@ -462,8 +460,6 @@ static void set_up_fixed_clock_sources(void)
|
|||
}
|
||||
|
||||
LL_PWR_DisableBkUpAccess();
|
||||
|
||||
z_stm32_hsem_unlock(CFG_HW_RCC_SEMID);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue