commit | 7a8655e19bdb3be43f6a3b4768c9b0928a2585fc | [log] [tgz] |
---|---|---|
author | Amit Daniel Kachhap <[email protected]> | Tue Jul 31 11:25:55 2018 +0530 |
committer | Stephen Boyd <[email protected]> | Thu Aug 02 13:43:48 2018 -0700 |
tree | 7e3908714334fce2060733dcfdc615896a870c90 | |
parent | ce397d215ccd07b8ae3f71db689aedb85d56ab40 [diff] |
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: 6d6a1d82eaef7 ("clk: add support for clocks provided by SCMI") Acked-by: Sudeep Holla <[email protected]> Signed-off-by: Amit Daniel Kachhap <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>