Skip to content

Commit 6c2d354

Browse files
etienne-lmsnashif
authored andcommitted
drivers: clock_control: fix typo in STM32H7* clock init
Correct typo in STM32H7 HSI clock calibration directives introduced in commit 6b167f2 ("drivers: clock_control: add calibration for h7 pllx_hsi") that currently has no functionnal impact but is worth to be fixed for consistency. No functional change, Fixes: 6b167f2 Signed-off-by: Etienne Carriere <[email protected]>
1 parent a6ae1d9 commit 6c2d354

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clock_control/clock_stm32_ll_h7.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ static void set_up_fixed_clock_sources(void)
687687

688688
if (IS_ENABLED(STM32_HSI_ENABLED)) {
689689
if (IS_ENABLED(STM32_PLL_SRC_HSI) || IS_ENABLED(STM32_PLL2_SRC_HSI) ||
690-
+ IS_ENABLED(STM32_PLL3_SRC_HSI)) {
690+
IS_ENABLED(STM32_PLL3_SRC_HSI)) {
691691
/* HSI calibration */
692692
LL_RCC_HSI_SetCalibTrimming(RCC_HSICALIBRATION_DEFAULT);
693693
}

0 commit comments

Comments
 (0)