Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 023bd716 authored by Shawn Lin's avatar Shawn Lin Committed by Stephen Boyd
Browse files

clk: skip unnecessary set_phase if nothing to do



Let's compare the degrees from clk_set_rate with
clk->core->phase. If the requested degrees is already
there, skip the following steps.

Signed-off-by: default avatarShawn Lin <shawn.lin@rock-chips.com>
[sboyd@codeaurora.org: s/drgrees/degrees/ in commit text]
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 2103a215
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment