Files
u-boot/drivers/clk
Maksim Kiselev b493db39ea clk: Only enable the parent clock if the clock was enabled before reparenting
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..

Fixes: ac30d90f33 ("clk: Ensure the parent clocks are enabled while reparenting")
Signed-off-by: Maksim Kiselev <bigunclemax@gmail.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
2025-12-04 09:39:26 -06:00
..
2025-09-01 16:37:08 +09:00
2025-09-30 20:32:15 +02:00
2025-09-23 08:24:59 -06:00
2025-10-30 11:04:51 -06:00