Skip to content
Commit 14b1ba15 authored by Mahesh Mahadevan's avatar Mahesh Mahadevan Committed by Daniel DeGrasse
Browse files

drivers: timer: Fix the logic to compensate the clock when turned off



The original logic relied on the tick passed in. This method
is inaccurate as the tick value passed in was the exit latency.
Update the code to calculate the remaining time left and set
a counter using this value.

Signed-off-by: default avatarMahesh Mahadevan <mahesh.mahadevan@nxp.com>
parent d0f9ccc0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment