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

Commit deb052f1 authored by Vikram Mulukutla's avatar Vikram Mulukutla
Browse files

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: default avatarVikram Mulukutla <markivx@codeaurora.org>
parent 01e0be45
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