linux/drivers/iio/pressure
Adam Rizkalla 0f0f630661 iio: pressure: bmp280: Fix BMP580 temperature reading
Fix overflow issue when storing BMP580 temperature reading and
properly preserve sign of 24-bit data.

Signed-off-by: Adam Rizkalla <ajarizzo@gmail.com>
Tested-By: Vasileios Amoiridis <vassilisamir@gmail.com>
Acked-by: Angel Iglesias <ang.iglesiasg@gmail.com>
Link: https://lore.kernel.org/r/Zin2udkXRD0+GrML@adam-asahi.lan
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2024-05-27 09:49:20 +01:00
..
abp060mg.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
bmp280-core.c iio: pressure: bmp280: Fix BMP580 temperature reading 2024-05-27 09:49:20 +01:00
bmp280-i2c.c iio: pressure: bmp280: Rearrange vars in reverse xmas tree order 2023-11-16 19:10:27 +00:00
bmp280-regmap.c iio: pressure: bmp280: Add support for new sensor BMP580 2023-03-11 12:18:29 +00:00
bmp280-spi.c iio: pressure: Fixes SPI support for BMP3xx devices 2024-03-24 11:03:08 +00:00
bmp280.h iio: pressure: Fixes SPI support for BMP3xx devices 2024-03-24 11:03:08 +00:00
cros_ec_baro.c iio: cros: Register FIFO callback after sensor is registered 2022-07-18 18:29:13 +01:00
dlhl60d.c iio: pressure: dlhl60d: Initialize empty DLH bytes 2024-02-25 12:11:31 +00:00
dps310.c iio: pressure: dps310: simplify scale factor reading 2024-04-20 14:53:02 +01:00
hid-sensor-press.c iio: pressure: hid-sensor: Convert to platform remove callback returning void 2023-09-23 15:06:56 +01:00
hp03.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
hp206c.c iio: pressure: hp206c: drop ACPI_PTR() and CONFIG_ACPI guards 2024-01-23 22:06:56 +00:00
hsc030pa_i2c.c iio: pressure: hsc030pa add mandatory delay 2024-02-19 19:32:22 +00:00
hsc030pa_spi.c iio: pressure: hsc030pa: Use spi_read() 2024-03-28 13:22:15 +00:00
hsc030pa.c iio: pressure: hsc030pa add triggered buffer 2024-02-19 19:32:22 +00:00
hsc030pa.h iio: pressure: hsc030pa add triggered buffer 2024-02-19 19:32:22 +00:00
icp10100.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
Kconfig iio: pressure: hsc030pa add triggered buffer 2024-02-19 19:32:22 +00:00
Makefile iio: pressure: mprls0025pa add SPI driver 2024-01-23 22:06:54 +00:00
mpl115_i2c.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
mpl115_spi.c iio: pressure: mpl115: Implementing low power mode by shutdown gpio 2022-11-23 19:44:00 +00:00
mpl115.c iio: pressure: mpl115: Implementing low power mode by shutdown gpio 2022-11-23 19:44:00 +00:00
mpl115.h iio: pressure: mpl115: Implementing low power mode by shutdown gpio 2022-11-23 19:44:00 +00:00
mpl3115.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
mprls0025pa_i2c.c iio: pressure: mprls0025pa refactor to split core and i2c parts. 2024-01-23 22:06:54 +00:00
mprls0025pa_spi.c iio: pressure: mprls0025pa add SPI driver 2024-01-23 22:06:54 +00:00
mprls0025pa.c iio: pressure: mprls0025pa add triplet property 2024-01-23 22:06:54 +00:00
mprls0025pa.h iio: pressure: mprls0025pa refactor to split core and i2c parts. 2024-01-23 22:06:54 +00:00
ms5611_core.c iio: pressure: ms5611: ms5611_prom_is_valid false negative bug 2023-10-05 18:06:46 +01:00
ms5611_i2c.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
ms5611_spi.c iio: pressure: ms5611: Switch to fully devm_ managed registration. 2022-12-28 17:19:45 +00:00
ms5611.h iio: pressure: ms5611: Switch to fully devm_ managed registration. 2022-12-28 17:19:45 +00:00
ms5637.c iio: pressure: ms5637: Use i2c_get_match_data() 2023-09-12 10:42:04 +01:00
rohm-bm1390.c iio: pressure: Support ROHM BU1390 2023-10-05 14:44:06 +01:00
st_pressure_buffer.c iio:st-sensors: Remove duplicate MODULE_* 2022-02-18 11:36:54 +00:00
st_pressure_core.c iio: pressure: st_pressure: Add support for LPS22DF 2022-09-21 18:42:53 +01:00
st_pressure_i2c.c iio: st_sensors: drop ACPI_PTR() and CONFIG_ACPI guards 2024-01-23 22:06:56 +00:00
st_pressure_spi.c iio: pressure: st_pressure: Add support for LPS22DF 2022-09-21 18:42:53 +01:00
st_pressure.h iio: pressure: st_pressure: Add support for LPS22DF 2022-09-21 18:42:53 +01:00
t5403.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
zpa2326_i2c.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
zpa2326_spi.c Char/Misc and other driver updates for 5.18-rc1 2022-03-28 12:27:35 -07:00
zpa2326.c iio: pressure: zpa2326: use 'time_left' variable with wait_for_completion_interruptible_timeout() 2024-04-29 21:06:18 +01:00
zpa2326.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00