On Wed, Jul 1, 2015 at 4:20 PM, Paul Osmialowski <pawelo@xxxxxxxxxxx> wrote: > - kinetis_pit_init(kinetis_tmr, (rate / HZ) - 1); Do you want to do DIV_ROUND_UP() or why is this -1 here? Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html