Wall time obtained from getnstimeofday is susceptible to sudden jumps due to
user setting the time or due to NTP. Monotonic time is constantly increasing
time better suited for comparing two timestamps
Signed-off-by: Abhilash Jindal
---
drivers/staging/fbtft/fbtft-core.c |4 ++--
1 file
Wall time obtained from do_gettimeofday is susceptible to sudden jumps due to
user setting the time or due to NTP. Monotonic time is constantly increasing
time better suited for comparing two timestamps.
Signed-off-by: Abhilash Jindal
---
drivers/staging/media/lirc/lirc_parallel.c | 42
Wall time obtained from do_gettimeofday is susceptible to sudden jumps due to
user setting the time or due to NTP.
Monotonic time is constantly increasing time better suited for comparing two
timestamps.
Signed-off-by: Abhilash Jindal
---
drivers/staging/comedi/drivers/serial2002.c | 10
timed_gpio.c uses hrtimer to switch off the gpio.
However, hrtimer does not get fired after the CPU suspends. Hence, if
the CPU suspends before the timer gets fired, the gpio stays
on until the next time when CPU wakes up causing unnecessary
battery drain (which can be as long as 15 minutes).
IMH