aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorChris Lesiak <[email protected]>2021-06-14 14:18:20 +0000
committerJonathan Cameron <[email protected]>2021-07-24 17:13:02 +0000
commit84edec86f449adea9ee0b4912a79ab8d9d65abb7 (patch)
tree860cc54ba112efb05389834b0e5776733bb9a692 /scripts/gcc-plugins/randomize_layout_plugin.c
parentdt-bindings: iio: st: Remove wrong items length check (diff)
downloadkernel-84edec86f449adea9ee0b4912a79ab8d9d65abb7.tar.gz
kernel-84edec86f449adea9ee0b4912a79ab8d9d65abb7.zip
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 <[email protected]> Acked-by: Matt Ranostay <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions