diff options
author | Maxime COQUELIN <maxime.coquelin@st.com> | 2014-01-29 20:24:06 +0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2014-04-30 22:44:00 +0400 |
commit | dd23c2cd38da2c64af381b19795d2c4f115e8ecb (patch) | |
tree | 285ce925cb3c9a99720f34b40e42f7e70972d05e /drivers/clk/shmobile | |
parent | e813d49d2a477e3b64a9ff32ca7db5737d36cd91 (diff) | |
download | linux-dd23c2cd38da2c64af381b19795d2c4f115e8ecb.tar.xz |
clk: divider: Fix best div calculation for power-of-two and table dividers
The divider returned by clk_divider_bestdiv() is likely to be invalid in case
of power-of-two and table dividers when CLK_SET_RATE_PARENT flag isn't set.
Fixes boot on STiH416 platform.
Signed-off-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
[mturquette@linaro.org: trivial merge conflict & updated changelog]
Diffstat (limited to 'drivers/clk/shmobile')
0 files changed, 0 insertions, 0 deletions