android_kernel_oneplus_msm8998/drivers/iio/humidity
Alison Schofield f7ba3de17a iio: humidity: hdc100x: correct humidity integration time mask
commit 0e35cf5ce00d873d6e529d2b2cd7598d52438051 upstream.

Apply the correct mask to enable all available humidity integration
times.  Currently, the driver defaults to 6500 and all is okay with that.
However, if 3850 is selected we get a stuck bit and can't change back
to 6500 or select 2500.  (Verified with HDC1008)

Signed-off-by: Alison Schofield <amsfield22@gmail.com>
Cc: Daniel Baluta <daniel.baluta@gmail.com>
Reviewed-by: Matt Ranostay <mranostay@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-07-27 09:47:36 -07:00
..
dht11.c iio: dht11: Use new function ktime_get_resolution_ns() 2015-07-20 18:41:20 +01:00
hdc100x.c iio: humidity: hdc100x: correct humidity integration time mask 2016-07-27 09:47:36 -07:00
htu21.c Add ms8607 meas-spec driver support 2015-10-11 10:21:21 +01:00
Kconfig Add ms8607 meas-spec driver support 2015-10-11 10:21:21 +01:00
Makefile Add htu21 meas-spec driver support 2015-10-11 10:21:20 +01:00
si7005.c iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
si7020.c First set of IIO fixes for the 4.4 cycle. 2015-11-18 13:15:50 -08:00