commit | 774b514390b1eb8476bc759262790762bd1ef45a | [log] [tgz] |
---|---|---|
author | Maxime COQUELIN <maxime.coquelin@st.com> | Wed Jan 29 17:24:07 2014 +0100 |
committer | Mike Turquette <mturquette@linaro.org> | Wed Apr 30 11:51:26 2014 -0700 |
tree | b283823eca82e2e5a71fbd90b203da950fd96764 | |
parent | 874f224cc52d64c912087e68e3724be95ad80ee7 [diff] |
clk: divider: Add round to closest divider In some cases, we want to be able to round the divider to the closest one, instead than rounding up. This patch adds a new CLK_DIVIDER_ROUND_CLOSEST flag to specify the divider has to round to closest div, keeping rounding up as de default behaviour. Signed-off-by: Maxime Coquelin <maxime.coquelin@st.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>