Skip to content
Commit efd87da6 authored by Vicky Wallace's avatar Vicky Wallace
Browse files

clk: qcom: clk-alpha-pll: Update round rate to use kHz for the divider



For the PLL that have 32 bits support for the division ratio.
The DIVIDER_ROUND_CLOSEST flag is designed to round the frequency
to the closest Hz for the requested rate.
However the Fabia PLLs have only 16 bits support for the
division ratio. Using the closest rounding flag results in
a parent PLL being configured with the rate larger than Fmax.
This change solves the issue by allowing the frequency to round
to nearest kHz.

CRs-Fixed: 2048646
Change-Id: I336945df289e383dea2b831ec8aa24da2aca54c1
Signed-off-by: default avatarVicky Wallace <vwallace@codeaurora.org>
parent e13b3810
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment