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

Commit fc903471 authored by Vikram Mulukutla's avatar Vikram Mulukutla Committed by David Collins
Browse files

clk: qcom: clock-cpu-8994: Rework the cpu clock round rate function



In order to return only the frequencies supported in the voltage
plan (since CPR parameters are optimized for those frequencies),
use the fmax table in the CPU clock structure to return supported
frequencies from the round_rate op. This also provide a slight
speed benefit while selecting frequencies before a set_rate.

Sneak in a formatting fix (a newline) that makes kernel log
look less ugly.

Change-Id: I2da2efc1a28bc1159faaa0434895c7efb30ffc60
Signed-off-by: default avatarVikram Mulukutla <markivx@codeaurora.org>
parent c5f1b031
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