Re: [PATCH v2 4/9] arm: twr-k70f120m: timer driver for Kinetis SoC

Linus Walleij
2015-07-14T08:59:44Z

On Wed, Jul 1, 2015 at 4:20 PM, Paul Osmialowski <pawelo@king.net.pl> 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