commit | 67bfbdc8f4069687e54de260226f67a089aecedf | [log] [tgz] |
---|---|---|
author | Patrick Daly <pdaly@codeaurora.org> | Tue Sep 03 19:37:09 2013 -0700 |
committer | Vikram Mulukutla <markivx@codeaurora.org> | Fri Nov 15 16:27:37 2013 -0800 |
tree | 9055ab03183f7c4dded81b0bf057be4b0f309a3b | |
parent | 86abe9b77ecd7c6f3b65ce792b93fdd2feacecd2 [diff] |
msm: clock-generic: Return best parent_rate from div_round_rate Returning only the rounded rate and corresponding divider is not sufficient. Since these values must be represented as integers, rather than fractions, their product may not be equal to the actual parent clock rate necessary. Change-Id: I16a18595baa6f12d3fb3f7379acc80ee3988b2a3 Signed-off-by: Patrick Daly <pdaly@codeaurora.org>