On Fri, Aug 22, 2014 at 09:06:13AM -0400, jonsm...@gmail.com wrote: > On Fri, Aug 22, 2014 at 8:54 AM, Emilio López <t...@linux-sunxi.org> wrote: > > El 21/08/14 a las 15:28, Luc Verhaegen escibió: > > > >> If you do not do this beforehand, you will usually get a lower divider > >> actually set: > >> frequency_result += divider - 1; > > > > > > So you're doing DIV_ROUND_UP(frequency_result, divider)
Yes. > DIV_ROUND_CLOSEST(frequency_result, divider) Definitely not. Luc Verhaegen. -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.