Skip to content
Commit a64a9c08 authored by Abel Vesa's avatar Abel Vesa Committed by Stephen Boyd
Browse files

clk: imx: Fix fractional clock set rate computation

Before multiplying by PLL_FRAC_DENOM, the temp64 needs to be
 temp64 = rate * 2 - divfi * parent_rate * 8, instead of:
 temp64 = (rate * 2 - divfi) * parent_rate

Fixes: 6209624b

 ("clk: imx: Add fractional PLL output clock")
Signed-off-by: default avatarAbel Vesa <abel.vesa@nxp.com>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent ede77858
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment