linux/drivers/iio/pressure
Andreas Klinger eb92b4183d iio: bmp280: properly initialize device for humidity reading
If the device is not initialized at least once it happens that the humidity
reading is skipped, which means the special value 0x8000 is delivered.

For omitting this case the oversampling of the humidity must be set before
the oversampling of the temperature und pressure is set as written in the
datasheet of the BME280.

Furthermore proper error detection is added in case a skipped value is read
from the device. This is done also for pressure and temperature reading.
Especially it don't make sense to compensate this value and treat it as
regular value.

Signed-off-by: Andreas Klinger <ak@it-klinger.de>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2017-07-30 14:41:12 +01:00
..
abp060mg.c iio: pressure: Add driver for Honeywell ABP family 2016-10-01 15:14:37 +01:00
bmp280-core.c iio: bmp280: properly initialize device for humidity reading 2017-07-30 14:41:12 +01:00
bmp280-i2c.c
bmp280-regmap.c
bmp280-spi.c
bmp280.h iio: bmp280: properly initialize device for humidity reading 2017-07-30 14:41:12 +01:00
cros_ec_baro.c iio: cros_ec: Add cros_ec barometer driver 2017-01-28 15:07:46 +00:00
hid-sensor-press.c
hp03.c iio: pressure: hp03: Add OF device ID table 2017-03-19 10:53:39 +00:00
hp206c.c
Kconfig iio: pressure: Fix name of BME280 part in Kconfig 2017-04-23 12:38:47 +01:00
Makefile iio: cros_ec: Add cros_ec barometer driver 2017-01-28 15:07:46 +00:00
mpl115_i2c.c
mpl115_spi.c
mpl115.c iio: pressure: mpl115: do not rely on structure field ordering 2017-02-11 09:00:44 +00:00
mpl115.h
mpl3115.c iio: pressure: mpl3115: Add OF device ID table 2017-03-19 10:58:01 +00:00
ms5611_core.c iio: pressure: ms5611: claim direct mode during oversampling changes 2017-01-21 12:31:05 +00:00
ms5611_i2c.c
ms5611_spi.c
ms5611.h
ms5637.c
st_pressure_buffer.c
st_pressure_core.c First set of IIO fixes for the 4.13 cycle. 2017-07-23 20:54:31 -07:00
st_pressure_i2c.c iio: st_pressure: Support i2c probe using acpi 2016-12-03 08:56:27 +00:00
st_pressure_spi.c
st_pressure.h iio: st_pressure: Support i2c probe using acpi 2016-12-03 08:56:27 +00:00
t5403.c
zpa2326_i2c.c iio:pressure: initial zpa2326 barometer support 2016-09-18 19:42:21 +01:00
zpa2326_spi.c iio:pressure: initial zpa2326 barometer support 2016-09-18 19:42:21 +01:00
zpa2326.c iio: pressure: zpa2326: report interrupted case as failure 2017-05-14 15:28:14 +01:00
zpa2326.h iio:pressure: initial zpa2326 barometer support 2016-09-18 19:42:21 +01:00