kernel_samsung_a53x/drivers/iio/chemical
Vasileios Amoiridis 9a466d9b57 iio: chemical: bme680: Fix pressure value output
commit ae1f7b93b52095be6776d0f34957b4f35dda44d9 upstream.

The IIO standard units are measured in kPa while the driver
is using hPa.

Apart from checking the userspace value itself, it is mentioned also
in the Bosch API [1] that the pressure value is in Pascal.

[1]: https://github.com/boschsensortec/BME68x_SensorAPI/blob/v4.4.8/bme68x_defs.h#L742

Fixes: 1b3bd8592780 ("iio: chemical: Add support for Bosch BME680 sensor")
Signed-off-by: Vasileios Amoiridis <vassilisamir@gmail.com>
Link: https://lore.kernel.org/r/20240606212313.207550-2-vassilisamir@gmail.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-19 14:19:33 +01:00
..
ams-iaq-core.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atlas-ezo-sensor.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atlas-sensor.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bme680.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bme680_core.c iio: chemical: bme680: Fix pressure value output 2024-11-19 14:19:33 +01:00
bme680_i2c.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bme680_spi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ccs811.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pms7003.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
scd30.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
scd30_core.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
scd30_i2c.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
scd30_serial.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sgp30.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sps30.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vz89x.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00