commit | 2d6f25774332ebf6a0283d5bc558b273991797db | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | Tue Jul 18 18:44:07 2017 +0200 |
committer | Geert Uytterhoeven <geert+renesas@glider.be> | Wed Jul 19 18:06:15 2017 +0200 |
tree | 5519dba6e63e64557c6683c648eb8bae1055ca0a | |
parent | f317880c5b2bd9c2f3abcd1f799b17b922ac944f [diff] |
clk: renesas: rcar-gen3-cpg: Refactor checks for accessing the div table Do the checks for accessing the SD divider table only when the rate gets updated, namely on init and set_rate. In all other cases, reuse the last value. This simplifies code, runtime load, and error reporting. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>