diff options
author | Emiliano Ingrassia <ingrassia@epigenesys.com> | 2018-01-12 21:42:28 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2018-01-12 14:18:39 -0800 |
commit | abe6c3b06fa80777e321add05345c799a74e624a (patch) | |
tree | 8d52e3b9df9910862401d0bd3b725e7b968c4bd1 /Documentation/usb/ohci.txt | |
parent | b0076406495cd5905284d1f235db77d8ab54951e (diff) | |
download | op-kernel-dev-abe6c3b06fa80777e321add05345c799a74e624a.zip op-kernel-dev-abe6c3b06fa80777e321add05345c799a74e624a.tar.gz |
hwmon: (sht3x) wait predefined limits loading complete before access
An sht3x sensor include limits register which contains temperature
and humidity limit values. After a reset, pre-defined values are loaded
into that register. During the probe function, the driver reads the
limits register. However, if the reads are made too early, and the bus
is clocked at high frequencies (e.g. 100 kHz or more), the loading could be
not completed and the sensor returns a NACK which causes the probe to fail.
A delay of at least 500 us before the first read solves this issue.
Signed-off-by: Emiliano Ingrassia <ingrassia@epigenesys.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/usb/ohci.txt')
0 files changed, 0 insertions, 0 deletions