driver: timer: stm32_lptim: don't reset backup domain
We don't need to reset backup domain to set LSE clock source. It's dangerous to reset backup domain, it removes: - RTC configuration - backup registers - RCC Backup domain control register Signed-off-by: Julien D'Ascenzio <julien.dascenzio@paratronic.fr>
This commit is contained in:
parent
a2391078f9
commit
edd72848fe
1 changed files with 0 additions and 2 deletions
|
@ -107,8 +107,6 @@ int z_clock_driver_init(struct device *device)
|
|||
#endif /* LL_APB1_GRP1_PERIPH_PWR */
|
||||
/* enable backup domain */
|
||||
LL_PWR_EnableBkUpAccess();
|
||||
LL_RCC_ForceBackupDomainReset();
|
||||
LL_RCC_ReleaseBackupDomainReset();
|
||||
|
||||
/* enable LSE clock */
|
||||
LL_RCC_LSE_DisableBypass();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue