commit | 4cfd4b5379ee200e76358e17e90aabe0a55f5365 | [log] [tgz] |
---|---|---|
author | Jun Lin <CHLin56@nuvoton.com> | Mon Oct 30 15:14:12 2023 +0800 |
committer | Fabio Baltieri <fabio.baltieri@gmail.com> | Fri Nov 17 17:24:14 2023 +0000 |
tree | 4d7ee2dcb321e8d779a5c9f3855be0ee0b7e5359 | |
parent | dfc747d53a07b1219c7a962ca64a8edadf05f5f2 [diff] |
driver: timer: npcx: fix announce/set timer timeout tick The timer driver doesn't annouce/set the timeout at the tick boundary but at the absolute next expiration time. It will cause the accumatlation of the tick drift and cannot pass the kernel/timer/timer_behavior test suite. This commit fixes the tick drift problem by annouce the time at the tick bouandry. Fixes #59594 Signed-off-by: Jun Lin <CHLin56@nuvoton.com>