diff options
author | Chris Lesiak <chris.lesiak@licor.com> | 2021-06-14 09:18:20 -0500 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-07-24 18:13:02 +0100 |
commit | 84edec86f449adea9ee0b4912a79ab8d9d65abb7 (patch) | |
tree | 860cc54ba112efb05389834b0e5776733bb9a692 /LICENSES | |
parent | 14a30238ecb8dcf52a9e2be514414e3ec443b536 (diff) |
iio: humidity: hdc100x: Add margin to the conversion time
The datasheets have the following note for the conversion time
specification: "This parameter is specified by design and/or
characterization and it is not tested in production."
Parts have been seen that require more time to do 14-bit conversions for
the relative humidity channel. The result is ENXIO due to the address
phase of a transfer not getting an ACK.
Delay an additional 1 ms per conversion to allow for additional margin.
Fixes: 4839367d99e3 ("iio: humidity: add HDC100x support")
Signed-off-by: Chris Lesiak <chris.lesiak@licor.com>
Acked-by: Matt Ranostay <matt.ranostay@konsulko.com>
Link: https://lore.kernel.org/r/20210614141820.2034827-1-chris.lesiak@licor.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions