[PATCH v1] clk: Only enable the parent clock if the clock was enabled before reparenting

Tom Rini trini at konsulko.com
Thu Dec 4 20:31:52 CET 2025


On Fri, 29 Aug 2025 11:25:00 +0300, bigunclemax at gmail.com wrote:

> The current implementation of clk_set_parent() unconditionally enables
> the new parent clock, even if the target clock was not previously enabled.
> 
> To avoid this implicit behavior, this patch adds a check for whether
> the target clock has been enabled before parent enabling..
> 
> 
> [...]

Applied to u-boot/next, thanks!

[1/1] clk: Only enable the parent clock if the clock was enabled before reparenting
      commit: b493db39ea7fb1205d3a2df269352cb79874c1c7
-- 
Tom




More information about the U-Boot mailing list