Files
linux/drivers
Thomas VanSelus 066ed42712 misc: ds1682: Ignore update-in-progress ETC reads
The Elapsed Time Counter (ETC) registers are not buffered for reading.
If a 250ms tick occurs while data is being read out, the result can be
a combination of old and new values. This can occur at the byte level
(giving a time in the future) or the individual bit level (giving a
time in the past). We catch both these cases by reading until we get
two equal or consecutive values. After five unsuccessful attempts we
give up.

Signed-off-by: Thomas VanSelus <tvanselus@xes-inc.com>
Signed-off-by: Aaron Sierra <asierra@xes-inc.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-01-09 17:03:57 +01:00
..
2018-01-02 14:46:35 +01:00
2017-12-20 13:16:33 -07:00
2018-01-02 14:46:35 +01:00
2017-11-13 01:34:14 +01:00
2017-12-18 09:16:35 +01:00
2018-01-02 14:46:35 +01:00
2017-12-19 10:56:53 +01:00
2017-12-18 13:55:43 -07:00
2017-12-02 21:31:03 -05:00
2017-12-14 21:01:40 +02:00
2017-12-19 11:14:56 +01:00
2017-12-19 11:14:56 +01:00