clk: core: Force setting the phase delay when no change
PATCH 1/1 clk: core: Force setting the phase delay when no change
The hardware phase delay may depend on some other settings as clock reparenting, so, it has to be set each time.
Also, when the delay was the same as previously, an error was returned.
Signed-off-by Jean-Francois Moine <[email protected]>
--- drivers/clk/clk.c | 4 ---- 1 file changed, 4 deletions(-)
drivers/clk/clk.c +0 -4
@@ -1908,10 +1908,6 @@ int clk_set_phase(struct clk *clk, int degrees)clk_prepare_lock (); -/* bail early if nothing to do */ -if (degrees == clk->core->phase) - goto out; -trace_clk_set_phase (clk->core, degrees);if (clk->core->ops->set_phase)
Signature · 1 line
2.9.2