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: NSudeep Holla <sudeep.holla@arm.com> Signed-off-by: NAmit Daniel Kachhap <amit.kachhap@arm.com> Signed-off-by: NStephen Boyd <sboyd@kernel.org>
Showing
想要评论请 注册 或 登录