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: NRemi Pommarel <repk@triplefau.lt> Reviewed-by: NEric Anholt <eric@anholt.net> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
Showing
想要评论请 注册 或 登录