Skip to content
Commit 7a8655e1 authored by Amit Daniel Kachhap's avatar Amit Daniel Kachhap Committed by Stephen Boyd
Browse files

clk: scmi: Fix the rounding of clock rate



This fix rounds the clock rate properly by using quotient and not
remainder in the calculation. This issue was found while testing HDMI
in the Juno platform.

Fixes: 6d6a1d82 ("clk: add support for clocks provided by SCMI")
Acked-by: default avatarSudeep Holla <sudeep.holla@arm.com>
Signed-off-by: default avatarAmit Daniel Kachhap <amit.kachhap@arm.com>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent ce397d21
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