diff options
| author | Lori Hikichi <[email protected]> | 2017-08-14 19:00:39 +0000 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2017-12-28 22:53:34 +0000 |
| commit | 85151a6b0b331f7bc4d9534d6138bfdd3e206b0d (patch) | |
| tree | 641aa0820acb441ee4a6633527fea365b9a5885f /fs/jbd2/commit.c | |
| parent | clk: iproc: Allow iproc pll to runtime calculate vco parameters (diff) | |
| download | kernel-85151a6b0b331f7bc4d9534d6138bfdd3e206b0d.tar.gz kernel-85151a6b0b331f7bc4d9534d6138bfdd3e206b0d.zip | |
clk: iproc: Fix error in the pll post divider rate calculation
The pll post divider code was using DIV_ROUND_UP when determining the
divider value best suited to produce the target frequency.
Using DIV_ROUND_CLOSEST will give us better divider values when
the division results in a small remainder.
Also, change the post divider clock over to the determine_rate api
instead of round_rate.
Signed-off-by: Simran Rai <[email protected]>
Signed-off-by: Lori Hikichi <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
