diff options
author | Jean-Baptiste Maneyrol <jmaneyrol@invensense.com> | 2019-11-26 17:19:12 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-12-08 19:10:30 +0100 |
commit | 53eaa9c27fdc01b4f4d885223e29f97393409e7e (patch) | |
tree | 8418a0b65982aed7f1810914c627088aa86a541a /drivers/iio/imu/st_lsm6dsx | |
parent | iio: humidity: hdc100x: fix IIO_HUMIDITYRELATIVE channel reporting (diff) | |
download | linux-53eaa9c27fdc01b4f4d885223e29f97393409e7e.tar.xz linux-53eaa9c27fdc01b4f4d885223e29f97393409e7e.zip |
iio: imu: inv_mpu6050: fix temperature reporting using bad unit
Temperature should be reported in milli-degrees, not degrees. Fix
scale and offset values to use the correct unit.
This is a fix for an issue that has been present for a long time.
The fixes tag reflects the point at which the code last changed in a
fashion that would make this fix patch no longer apply. Backports
will be necessary to fix those elements that predate that patch.
Fixes: 1615fe41a195 ("iio: imu: mpu6050: Fix FIFO layout for ICM20602")
Cc: stable@vger.kernel.org
Signed-off-by: Jean-Baptiste Maneyrol <jmaneyrol@invensense.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/imu/st_lsm6dsx')
0 files changed, 0 insertions, 0 deletions