drivers: timer: remove reset release for lptim
The LL_APBx_GRPn_ReleaseReset clears reset bit in RCC,
however this bit is reset by default. Code that set
this bit was removed in previous commit
0856e99155
Keepint the autonomous clocks for STM32U5 family.
Signed-off-by: Adam Berlinger <adam.berlinger@st.com>
This commit is contained in:
parent
e69ce5bb43
commit
0717d4789d
1 changed files with 1 additions and 5 deletions
|
@ -401,12 +401,8 @@ static int sys_clock_driver_init(void)
|
|||
return -EIO;
|
||||
}
|
||||
|
||||
#if defined(LL_APB1_GRP1_PERIPH_LPTIM1)
|
||||
LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_LPTIM1);
|
||||
#elif defined(LL_APB3_GRP1_PERIPH_LPTIM1)
|
||||
#if defined(LL_SRDAMR_GRP1_PERIPH_LPTIM1AMEN)
|
||||
LL_SRDAMR_GRP1_EnableAutonomousClock(LL_SRDAMR_GRP1_PERIPH_LPTIM1AMEN);
|
||||
#elif defined(LL_APB7_GRP1_PERIPH_LPTIM1)
|
||||
LL_APB7_GRP1_ReleaseReset(LL_APB7_GRP1_PERIPH_LPTIM1);
|
||||
#endif
|
||||
|
||||
/* Enable LPTIM clock source */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue