diff options
author | Vasileios Amoiridis <[email protected]> | 2024-06-06 23:22:53 +0200 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2024-06-09 11:57:32 +0100 |
commit | ae1f7b93b52095be6776d0f34957b4f35dda44d9 (patch) | |
tree | 1edac129fda612fd29f23ed994eb2c653e4cc374 /drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c | |
parent | 9547d6a4c65e975e40e203900322342ef7379c52 (diff) |
iio: chemical: bme680: Fix pressure value output
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c')
0 files changed, 0 insertions, 0 deletions