clk: qcom: clock-generic: Fix parent selection loop exit condition
Previously, if a new parent was selected because it was
already at the necessary rate, the mux_set_rate logic
would short-circuit the parent selection loop before running
through all parents. This invalidates the try_new_parent
optimization which requires that we run through all the
parents, calling clk_round_rate on each one. Fix the for
loop conditional to reflect this.
Change-Id: Ic94a889dcd9ca393a19c7bd82ff26a192935811c
Signed-off-by:
Vikram Mulukutla <markivx@codeaurora.org>
Loading
Please register or sign in to comment