commit | 9c95b32ca09364e4687b72c4e17b78dc1c420026 | [log] [tgz] |
---|---|---|
author | Remi Pommarel <repk@triplefau.lt> | Sun Dec 06 17:22:46 2015 +0100 |
committer | Michael Turquette <mturquette@baylibre.com> | Thu Dec 24 20:38:06 2015 -0800 |
tree | 2bed5fd0556a5023585d0a9c58006ba78edff4bd | |
parent | 5e63dcc74b3066659ea53aeefbee1fc1d79f4b6f [diff] |
clk: bcm2835: add a round up ability to the clock divisor Make bcm2835_clock_choose_div to optionally round up the chosen MASH divisor so that the resulting average rate will not be higher than the requested one. Signed-off-by: Remi Pommarel <repk@triplefau.lt> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Michael Turquette <mturquette@baylibre.com>