Searched hist:"17 a2f46c" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/iio/humidity/ |
H A D | dht11.c | 17a2f46c Wed Jan 27 16:46:02 CST 2016 Abhilash Jindal <klock.android@gmail.com> iio: dht11: Use boottime
Wall time obtained from ktime_get_real_ns is susceptible to sudden jumps due to user setting the time or due to NTP. Boot time is constantly increasing time better suited for comparing two timestamps.
Signed-off-by: Abhilash Jindal <klock.android@gmail.com> Reviewed-by: Harald Geyer <harald@ccbib.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org> 17a2f46c Wed Jan 27 16:46:02 CST 2016 Abhilash Jindal <klock.android@gmail.com> iio: dht11: Use boottime Wall time obtained from ktime_get_real_ns is susceptible to sudden jumps due to user setting the time or due to NTP. Boot time is constantly increasing time better suited for comparing two timestamps. Signed-off-by: Abhilash Jindal <klock.android@gmail.com> Reviewed-by: Harald Geyer <harald@ccbib.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
|