android_kernel_xiaomi_sm8450/drivers/iio/pressure
Mitja Spes 49c71b6814 iio: pressure: ms5611: fixed value compensation bug
[ Upstream commit 17f442e7e47579d3881fc4d47354eaef09302e6f ]

When using multiple instances of this driver the compensation PROM was
overwritten by the last initialized sensor. Now each sensor has own PROM
storage.

Signed-off-by: Mitja Spes <mitja@lxnav.com>
Fixes: 9690d81a02 ("iio: pressure: ms5611: add support for MS5607 temperature and pressure sensor")
Link: https://lore.kernel.org/r/20221021135827.1444793-2-mitja@lxnav.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-02 17:39:57 +01:00
..
abp060mg.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
bmp280-core.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
bmp280-i2c.c
bmp280-regmap.c
bmp280-spi.c
bmp280.h
cros_ec_baro.c iio: cros_ec: unify hw fifo attributes into the core file 2020-09-29 17:27:07 +01:00
dlhl60d.c Replace HTTP links with HTTPS ones: drivers/iio 2020-07-13 15:05:59 +01:00
dps310.c iio: pressure: dps310: Reset chip after timeout 2022-10-26 13:25:07 +02:00
hid-sensor-press.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
hp03.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
hp206c.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
icp10100.c iio:pressure:icp10100: Drop of_match_ptr and CONFIG_OF protections 2020-09-21 18:41:29 +01:00
Kconfig iio: hid-sensors: select IIO_TRIGGERED_BUFFER under HID_SENSOR_IIO_TRIGGER 2021-05-19 10:13:13 +02:00
Makefile
mpl115_i2c.c
mpl115_spi.c
mpl115.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
mpl115.h
mpl3115.c iio:pressure:mpl3115: Force alignment of buffer 2020-12-30 11:54:24 +01:00
ms5611_core.c iio: pressure: ms5611: fixed value compensation bug 2022-12-02 17:39:57 +01:00
ms5611_i2c.c iio: ms5611: Simplify IO callback parameters 2022-12-02 17:39:57 +01:00
ms5611_spi.c iio: ms5611: Simplify IO callback parameters 2022-12-02 17:39:57 +01:00
ms5611.h iio: pressure: ms5611: fixed value compensation bug 2022-12-02 17:39:57 +01:00
ms5637.c iio:pressure:ms5637: Drop of_match_ptr protection 2020-09-21 18:41:30 +01:00
st_pressure_buffer.c iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
st_pressure_core.c iio: st_sensors: Call st_sensors_power_enable() from bus drivers 2021-11-18 14:04:13 +01:00
st_pressure_i2c.c iio: st_sensors: disable regulators after device unregistration 2021-11-18 14:04:13 +01:00
st_pressure_spi.c iio: st_sensors: disable regulators after device unregistration 2021-11-18 14:04:13 +01:00
st_pressure.h
t5403.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
zpa2326_i2c.c iio:pressure:zpa2326: Drop of_match_ptr protection 2020-09-21 18:41:30 +01:00
zpa2326_spi.c iio:pressure:zpa2326: Drop of_match_ptr protection 2020-09-21 18:41:30 +01:00
zpa2326.c Linux 5.8-rc6 2020-07-20 09:37:31 +02:00
zpa2326.h