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

Linus Walleij linus.walleij at linaro.org
Tue Jul 14 01:59:44 PDT 2015


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



More information about the linux-arm-kernel mailing list