Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: clock_control: stm32 ll common: fix RCC pll disable
The clock_stm32_ll_common.c function set_up_plls calls LL_RCC_PLL_Disable(); and it was not waiting for the disable to complete before trying to configure the pll sysclock which creates a race condition for pll configuration. The wait for re-enabling the RCC pll is already there, it was just missing the wait for the disable before configuration. Also added the wait for PLL2. Signed-off-by: Benjamin Curtis Byers <[email protected]>
- Loading branch information