WSL2-Linux-Kernel/drivers/iio/imu/inv_mpu6050
Jean-Baptiste Maneyrol 53eaa9c27f 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: 1615fe41a1 ("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>
2019-12-08 18:10:30 +00:00
..
Kconfig iio: imu: inv_mpu6050: be more explicit on supported chips 2019-08-05 17:30:34 +01:00
Makefile iio: imu: inv_mpu6050: add MPU925x magnetometer support 2019-10-05 12:14:20 +01:00
inv_mpu_acpi.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
inv_mpu_aux.c iio: imu: inv_mpu6050: helpers for using i2c master on auxiliary bus 2019-10-05 12:06:16 +01:00
inv_mpu_aux.h iio: imu: inv_mpu6050: helpers for using i2c master on auxiliary bus 2019-10-05 12:06:16 +01:00
inv_mpu_core.c iio: imu: inv_mpu6050: fix temperature reporting using bad unit 2019-12-08 18:10:30 +00:00
inv_mpu_i2c.c iio: imu: inv_mpu6050: disable i2c mux for MPU925x 2019-10-05 11:05:03 +01:00
inv_mpu_iio.h iio: imu: inv_mpu6050: fix temperature reporting using bad unit 2019-12-08 18:10:30 +00:00
inv_mpu_magn.c iio: imu: inv_mpu6050: add MPU925x magnetometer support 2019-10-05 12:14:20 +01:00
inv_mpu_magn.h iio: imu: inv_mpu6050: add MPU925x magnetometer support 2019-10-05 12:14:20 +01:00
inv_mpu_ring.c Merge 5.4-rc7 into staging-next 2019-11-11 06:23:37 +01:00
inv_mpu_spi.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
inv_mpu_trigger.c iio: imu: inv_mpu6050: add fifo support for magnetometer data 2019-10-05 12:14:31 +01:00