diff options
author | Gabriel Fernandez <gabriel.fernandez@foss.st.com> | 2025-05-27 15:27:52 +0200 |
---|---|---|
committer | Patrice Chotard <patrice.chotard@foss.st.com> | 2025-06-11 09:42:55 +0200 |
commit | 901e0d95df3b351ca66695eb507b1f35f5eb2143 (patch) | |
tree | 2d194f336a90324455123a2572553ded8508e096 /drivers/reset/stm32/stm32-reset-core.c | |
parent | 51954665a7dac2fd9e4385c0f7a96f3cc959829d (diff) |
clk: stm32: fix clock counter
In RCC the ops of the CCF registered CLK device can be called directly,
this patch avoid recursive call of clk_ function done by CCF clock
framework which update the clock information, for example
clk_enable is called 2 times, clkp->enable_count is increased 2 times.
Signed-off-by: Gabriel Fernandez <gabriel.fernandez@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Lukasz Majewski <lukma@denx.de>
Cc: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Diffstat (limited to 'drivers/reset/stm32/stm32-reset-core.c')
0 files changed, 0 insertions, 0 deletions