commit | f20995b55e5eb9b037ca9aa3a65cd2315b81f8e8 | [log] [tgz] |
---|---|---|
author | Kever Yang <kever.yang@rock-chips.com> | Thu Jul 27 12:54:02 2017 +0800 |
committer | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | Sun Aug 13 17:15:09 2017 +0200 |
tree | 84b0975bed28db6f6f01bcf59d7d42cd23261e7d | |
parent | 99b546da5d81bf03882b0f0e04a2c862ad3236b8 [diff] |
rockchip: clk: remove RATE_TO_DIV Use DIV_ROUND_UP instead RATE_TO_DIV for all Rockchip SoC clock driver. Add or fix the div-field overflow check at the same time. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>