Skip to content

Commit 5ace0aa

Browse files
Francois RamuChromeos LUCI
Francois Ramu
authored and
Chromeos LUCI
committed
drivers: clock control: some stm32f4 have no div-q on there plli2s
Check that the plli2s has a DIV-Q output or not. That depends on the PLLi2S of some stm32F4xx devices (cherry picked from commit bba13ae) Original-Signed-off-by: Francois Ramu <[email protected]> GitOrigin-RevId: bba13ae Cr-Build-Id: 8724184635785024145 Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8724184635785024145 Copybot-Job-Name: zephyr-main-copybot-downstream Change-Id: I35bd320b511e29b4ac22098de900399b855435d8 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/6222351 Tested-by: ChromeOS Prod (Robot) <[email protected]> Bot-Commit: ChromeOS Prod (Robot) <[email protected]> Commit-Queue: ChromeOS Prod (Robot) <[email protected]>
1 parent 686fb9e commit 5ace0aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clock_control/clock_stm32_ll_common.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ static int stm32_clock_control_get_subsys_rate(const struct device *clock,
432432
STM32_PLL_R_DIVISOR);
433433
break;
434434
#endif
435-
#if defined(STM32_SRC_PLLI2S_Q) & STM32_PLLI2S_ENABLED
435+
#if defined(STM32_SRC_PLLI2S_Q) & STM32_PLLI2S_Q_ENABLED & STM32_PLLI2S_ENABLED
436436
case STM32_SRC_PLLI2S_Q:
437437
*rate = get_pll_div_frequency(get_pllsrc_frequency(),
438438
STM32_PLLI2S_M_DIVISOR,

0 commit comments

Comments
 (0)