aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/clock
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2019-08-30 15:45:12 +0200
committerGeert Uytterhoeven <geert+renesas@glider.be>2019-10-01 10:24:55 +0200
commit8a6d97a46dfd73a87b76a277b2045bd4036c35aa (patch)
treec9e8626ec6deb4149f5d50ab2918d0c7cbd1afad /Documentation/devicetree/bindings/clock
parentclk: renesas: rcar-gen3: Absorb cpg_sd_clock_calc_div() (diff)
downloadlinux-dev-8a6d97a46dfd73a87b76a277b2045bd4036c35aa.tar.xz
linux-dev-8a6d97a46dfd73a87b76a277b2045bd4036c35aa.zip
clk: renesas: rcar-gen3: Loop to find best rate in cpg_sd_clock_round_rate()
cpg_sd_clock_round_rate() really needs the best rate, not the best divider. Hence change the iteration to find the former, and get rid of the final division. Add an out-of-range rate check while at it. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Link: https://lore.kernel.org/r/20190830134515.11925-6-geert+renesas@glider.be
Diffstat (limited to 'Documentation/devicetree/bindings/clock')
0 files changed, 0 insertions, 0 deletions