linux_dsm_epyc7002/drivers/iio/humidity
Chris Lesiak f8a472a157 iio: humidity: hdc100x: Add margin to the conversion time
commit 84edec86f449adea9ee0b4912a79ab8d9d65abb7 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-07-05 18:53:59 +02:00
..
am2315.c iio: humidity: am2315: Fix buffer alignment in iio_push_to_buffers_with_timestamp() 2021-07-14 16:56:36 +02:00
dht11.c iio: remove left-over parent assignments 2020-06-14 11:50:04 +01:00
hdc100x.c iio: humidity: hdc100x: Add margin to the conversion time 2024-07-05 18:53:59 +02:00
hdc2010.c drivers/iio/humidity/hdc2010.c:305:2-3: Unneeded semicolon 2020-09-06 16:05:56 +01:00
hid-sensor-humidity.c iio: hid-sensor-humidity: Fix alignment issue of timestamp channel 2021-03-25 09:04:16 +01:00
hts221_buffer.c Linux 5.8-rc6 2020-07-20 09:37:31 +02:00
hts221_core.c iio: remove left-over parent assignments 2020-06-14 11:50:04 +01:00
hts221_i2c.c iio: humidity: hts221: Drop unneeded casting when print error code 2020-03-21 10:27:15 +00:00
hts221_spi.c iio: humidity: hts221: Drop unneeded casting when print error code 2020-03-21 10:27:15 +00:00
hts221.h Linux 5.8-rc6 2020-07-20 09:37:31 +02:00
htu21.c iio:humidity:htu21: Drop of_match_ptr protection 2020-09-21 18:41:34 +01:00
Kconfig iio: hid-sensors: select IIO_TRIGGERED_BUFFER under HID_SENSOR_IIO_TRIGGER 2021-05-19 10:13:13 +02:00
Makefile iio: humidity: Add TI HDC20x0 support 2020-09-03 19:40:44 +01:00
si7005.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
si7020.c iio:humidity:si7020: Drop of_match_ptr protection 2020-09-21 18:41:34 +01:00