WSL2-Linux-Kernel/drivers/iio/humidity
Chris Lesiak 84edec86f4 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: 4839367d99 ("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>
2021-07-24 18:13:02 +01:00
..
Kconfig iio: hid-sensors: select IIO_TRIGGERED_BUFFER under HID_SENSOR_IIO_TRIGGER 2021-05-10 14:01:48 +01:00
Makefile
am2315.c iio: humidity: am2315: Fix buffer alignment in iio_push_to_buffers_with_timestamp() 2021-05-17 13:54:29 +01:00
dht11.c
hdc100x.c iio: humidity: hdc100x: Add margin to the conversion time 2021-07-24 18:13:02 +01:00
hdc2010.c iio: humidity: hdc2010: Drop duplicate setting of iio_dev.dev.parent 2021-05-17 13:49:12 +01:00
hid-sensor-humidity.c iio: hid-sensors: Update header includes 2021-06-16 14:53:13 +01:00
hts221.h iio: humidity: hts221: add vdd voltage regulator 2020-12-03 19:32:39 +00:00
hts221_buffer.c iio: fix devm_iio_trigger_alloc with parent.cocci 2021-03-25 19:13:50 +00:00
hts221_core.c iio: humidity: hts221: add vdd voltage regulator 2020-12-03 19:32:39 +00:00
hts221_i2c.c
hts221_spi.c
htu21.c iio:humidity:htu21: Drop of_match_ptr protection 2020-09-21 18:41:34 +01:00
si7005.c
si7020.c iio:humidity:si7020: Drop of_match_ptr protection 2020-09-21 18:41:34 +01:00