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:
Julien D'Ascenzio 2020-05-14 07:30:16 +02:00 committed by Carles Cufí
commit edd72848fe

View file

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