commit | d38c59e9ab203427f14ab6691529bac098adbacd | [log] [tgz] |
---|---|---|
author | Abhilash Jindal <klock.android@gmail.com> | Tue Aug 11 10:31:53 2015 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Aug 14 17:33:22 2015 -0700 |
tree | bc335d0cf72e37f4ca38ba88300c61126cb1218a | |
parent | 365741e6a6ab7f31ff885c26dd173d9590d1e8ca [diff] |
staging: comedi: serial2002: Use monotonic clock 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 <klock.android@gmail.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>