diff options
author | Phil Elwell <phil@raspberrypi.org> | 2017-05-15 10:35:04 -0700 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2017-06-02 15:41:49 -0700 |
commit | e45098d703fbb9a7b02eae581aadb684b31e0eec (patch) | |
tree | b132afa1028409d0435f8f350c563f0b534abb9e /drivers/clk/clk-stm32f4.c | |
parent | 887541159c5e4a89779c021553f89df9596ddd94 (diff) |
clk: bcm2835: Correct the prediv logic
If a clock has the prediv flag set, both the integer and fractional
parts must be scaled when calculating the resulting frequency.
Signed-off-by: Phil Elwell <phil@raspberrypi.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/clk-stm32f4.c')
0 files changed, 0 insertions, 0 deletions