commit | 15a02c1f6dd7c2bb150c61d00ffb33f584ff2288 | [log] [tgz] |
---|---|---|
author | Stephen Boyd <sboyd@codeaurora.org> | Mon Jan 19 18:05:28 2015 -0800 |
committer | Michael Turquette <mturquette@linaro.org> | Tue Jan 27 11:48:39 2015 -0800 |
tree | 803aecc489bac86074b95d25cbdb2bbc426ffb38 | |
parent | 52bba9809a954d72bc77773bd560b9724b495eb7 [diff] |
clk: Add __clk_mux_determine_rate_closest Some clock drivers want to find the closest rate on the input of a mux instead of a rate that's less than or equal to the desired rate. Add a generic mux function to support this. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Tested-by: Kenneth Westfield <kwestfie@codeaurora.org> Signed-off-by: Michael Turquette <mturquette@linaro.org>