Commit 1b67ca85 authored by Biju Das's avatar Biju Das Committed by Greg Kroah-Hartman
Browse files

clk: renesas: rzg2l: Fix FOUTPOSTDIV clk



[ Upstream commit dabf72b8 ]

While computing foutpostdiv_rate, the value of params->pl5_fracin
is discarded, which results in the wrong refresh rate. Fix the formula
for computing foutpostdiv_rate.

Fixes: 1561380e ("clk: renesas: rzg2l: Add FOUTPOSTDIV clk support")
Signed-off-by: default avatarHien Huynh <hien.huynh.px@renesas.com>
Signed-off-by: default avatarBiju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/20241024134236.315289-1-biju.das.jz@bp.renesas.com


Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 9bc7ccfb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment