diff options
| author | Geert Uytterhoeven <[email protected]> | 2019-08-30 15:45:12 +0200 |
|---|---|---|
| committer | Geert Uytterhoeven <[email protected]> | 2019-10-01 10:24:55 +0200 |
| commit | 8a6d97a46dfd73a87b76a277b2045bd4036c35aa (patch) | |
| tree | c9e8626ec6deb4149f5d50ab2918d0c7cbd1afad /scripts/generate_rust_target.rs | |
| parent | f1195d4ec70b230553bbab80c251c3cd79db715b (diff) | |
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 <[email protected]>
Reviewed-by: Niklas Söderlund <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions